Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can anyone tell me some macro code to send data from say cell A10 to a
web query to be placed in sheet2 in cell A1 if it's possible. The webquery page would be something like http://localhost/test.php?query=(text in cell A10 sheet1) Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
here's one way:
Dim qry As QueryTable With Sheets("Sheet2") Set qry = ..QueryTables.Add(Connection:="URL;http://localhost/test.php?query=" & Sheets("Sheet1").Range("A10").Text, Destination:=.Range("A1")) qry.Refresh End With -- Hope that helps. Vergel Adriano " wrote: Can anyone tell me some macro code to send data from say cell A10 to a web query to be placed in sheet2 in cell A1 if it's possible. The webquery page would be something like http://localhost/test.php?query=(text in cell A10 sheet1) Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for that Vergel it works a treat.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Posting Data From 1 Wksht to Another | Excel Worksheet Functions | |||
Get Webpage data as text using VBA w/o Webquery | Excel Programming | |||
Posting lowest values in a seperate worksheet. | Excel Worksheet Functions | |||
the owner of posting should be able to delete the posting | Excel Discussion (Misc queries) | |||
Posting text typed inside a TexBox into the worksheet cell | Excel Programming |