Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I gave you the solution on your OTHER post. Pls don't post in more than one. Proper place is programming for this -- Don Guillett Microsoft MVP Excel SalesAid Software "Eric" wrote in message ... Does anyone have any suggestions on following macro coding? [Working] With Sheets("Temp").QueryTables.Add(Connection:= _ "URL;http://www.stata.com/help.cgi?macro", Destination:=Sheets("Temp").Range("$A$1")) [Not working] myVariable = "http://www.stata.com/help.cgi?macro" With ActiveSheet.QueryTables.Add(Connection:= _ "URL;" & myVariable, _ Destination:=sheets("Temp").Range("A1")) It seems to me that "URL;" & myVariable is not equal to "URL;http://www.stata.com/help.cgi?macro". Do anyone have any suggestions on how to solve it? Thank you very much for any suggestions Eric |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Please help on coding the macro. | Excel Worksheet Functions | |||
HELP - Too long coding for Macro | Excel Worksheet Functions | |||
HELP - coding on Macro! | Excel Worksheet Functions | |||
coding macro | Excel Discussion (Misc queries) | |||
How to use the if statement for Macro coding? | Excel Worksheet Functions |