LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default web query based on cell value

Is it possible to run a webquery based on a cell value in
VBA. In other words I want to substitute "www.myaddress"
in the code below with info that a user would input into
cell A1.

With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www.mywebaddress" _
, Destination:=Range("B2"))

I am new to VBA.

Thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning a value based on a query Gail Excel Worksheet Functions 7 July 31st 08 06:41 PM
Web query url based on data in cell Nick Excel Discussion (Misc queries) 0 September 25th 07 09:24 PM
Extracting HTML from web based query? 99atlantic Excel Discussion (Misc queries) 1 June 15th 06 11:15 PM
How do I set cell colors based on if query Wullie Excel Worksheet Functions 3 April 2nd 06 10:36 PM
query info based on dates martin Excel Programming 2 November 4th 03 10:42 PM


All times are GMT +1. The time now is 09:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"