Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to refer to Query Tables by name instead of by index
number? Or is there a way to change the index numbers? I have a sheet with a large number of querys and need to reference them individually, preferably by name. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim oQT as Querytable
set oQT = Activesheet.QueryTables("MyQuery") MyQuery being the name of the Querytable (modifiable in Properties) works by me. HTH -- AP a écrit dans le message de news: ... Is there a way to refer to Query Tables by name instead of by index number? Or is there a way to change the index numbers? I have a sheet with a large number of querys and need to reference them individually, preferably by name. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you for the sanity check. Turns out this was just a reminder as
to why sleep is your friend after coding for too many hours straight. Turns out I was forgetting the blasted underscore in the range name. DOH!! :P |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding tables in a query | Excel Discussion (Misc queries) | |||
Web Query from multiple tables | Excel Discussion (Misc queries) | |||
Two Excel tables in MS Query | Excel Discussion (Misc queries) | |||
Pivot Tables referring to external data query | Excel Discussion (Misc queries) | |||
Query Tables | Excel Programming |