Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

_Get Content, Store Searches, Formatting

$
0
0
Hey,

I created a macro for excel that finds content off a website and displays it in Excel.

Here is some of my code -

Code:

Sub URL_Get_Query()
  With ActiveSheet.QueryTables.Add(Connection:= _
    "URL;http://www.indeed.com/jobs?q=cashier+&l=44221", _
        Destination:=Range("a1"))

      .BackgroundQuery = True
      .TablesOnlyFromHTML = True
      .Refresh BackgroundQuery:=False
      .SaveData = True
  End With
End Sub

When I run the script some of the images and stuff don't show up within the excel
sheet. Can someone help me out and show me where to find some different classes to be able to customize my app?

It's for a job search website.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>