Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try
myadd="whatever" With ActiveSheet.QueryTables.Add(Connection:= _ "URL;http://www."&myadd&" _ , Destination:=Range("B2")) -- Don Guillett SalesAid Software "daveB" wrote in message ... 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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Don, Worked great!
-----Original Message----- try myadd="whatever" With ActiveSheet.QueryTables.Add(Connection:= _ "URL;http://www."&myadd&" _ , Destination:=Range("B2")) -- Don Guillett SalesAid Software "daveB" wrote in message ... 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 . |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Returning a value based on a query | Excel Worksheet Functions | |||
Web query url based on data in cell | Excel Discussion (Misc queries) | |||
Extracting HTML from web based query? | Excel Discussion (Misc queries) | |||
How do I set cell colors based on if query | Excel Worksheet Functions | |||
query info based on dates | Excel Programming |