ransomedbyfire
Board Regular
- Joined
- Mar 9, 2011
- Messages
- 121
I am trying to import a little bit of information from a website. This information is contained in a table along with a drop down box that lists every stock symbol I've ever searched for. (This list gets longer every time I run the query.) So, the import ends up pulling waaay too much information and causes the one piece of information I'm after to end up in a different cell every time.
How can I stop this import from pulling my search history?
Here is the code I am using.
How can I stop this import from pulling my search history?
Here is the code I am using.
Code:
Sheet12.Range("d1").ClearContents
With Sheet12.QueryTables.Add(Connection:= _
"URL;http://research.tdameritrade.com/public/mutualfunds/profile/profile.asp?symbol=vfinx"_
, Destination:=Sheet12.Range("d1"))
.WebFormatting = xlWebFormattingNone
.WebTables = """symbolHeaderTable"""
.Refresh BackgroundQuery:=False
End With