Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am trying to use the following in an excel (2003) spread sheet: With Selection.QueryTable ..Connection= "ODBC;DSN=Live;UID=admin;;SERVER=LIVE;DBNAME=DATA; LUID=admin;" .CommandText = strSelectStatement .Refresh BackgroundQuery:=False End With and I keep getting : Error Number: 1004 Error Description: Application-defined or object-defined error I have had a quick look at the help files and online and have tried a number of alternatives but with no success. Any help/tips greatly appreciated. Thanks, J |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Selection problem | Excel Discussion (Misc queries) | |||
Problem of selection.delete | Excel Worksheet Functions | |||
Selection problem with recorder | Excel Discussion (Misc queries) | |||
Cannot Group that selection Problem | Excel Discussion (Misc queries) | |||
range selection problem | Excel Programming |