PC Review


Reply
Thread Tools Rate Thread

Automate IE Web Query

 
 
Andy
Guest
Posts: n/a
 
      4th Mar 2008
Using the help of previous posts, I was able to figure out how to get to my
desired web page. From there, I want to put that data in Excel. I have run
out of ideas and cannot find any relevant help. I cannot manipulate the URL
to get to the web page - I had to code some javascript. Here is what I have:


Sub GetSecureTable()
Dim ie As InternetExplorer
ie.Navigate "www.url.com"

'navigate to desired web page
....

'try to get the web page into excel
'it fails miserably
With Sheet1.QueryTables.Add(Connection:=ie.LocationURL,
Destination:=Range("$A$1"))
.Name = "hist"
.WebTables = "4"
.Refresh BackgroundQuery:=False
End With

End Sub

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automate a Query Run ttp Microsoft Access Queries 1 12th Oct 2008 03:48 PM
Automate a query to run on a certain day =?Utf-8?B?Sm9obiBW?= Microsoft Access Queries 1 25th May 2007 03:42 PM
Automate Query Diane Walker Microsoft Access Queries 4 21st Mar 2007 07:44 PM
Automate Query Runnung =?Utf-8?B?QW5hbnRo?= Microsoft Access 6 6th Nov 2006 08:40 PM
Automate query execution mal152 Microsoft Access Getting Started 0 11th Jul 2005 04:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:58 AM.