WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   activesheet connection url (http://www.wcm.at/forum/showthread.php?t=143275)

mr.red 29.08.2004 15:05

activesheet connection url
 
hab das gefunden:
try
myadd="whatever"
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www."&myadd&" _
, Destination:=Range("B2"))

wie is die richtige syntax? das ding soll aus einer zelle einen wert holen, ihn an die url anhängen und die url aufrufen, thx!

(excel2002)

flinx 29.08.2004 16:13

Probier:
Code:

meinstring = "URL; http://www."+Trim(Sheets(1).Range("A1").Text)
ActiveSheet.QueryTables.Add Connection:=meinstring, _
        Destination:=Range("A5")



Alle Zeitangaben in WEZ +2. Es ist jetzt 14:36 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag