Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.links,microsoft.public.excel.querydao,microsoft.public.excel.worksheet.functions,microsoft.public.sqlserver.connect
|
|||
|
|||
![]()
Use http://vangelder.orcon.net.nz/ QueryEditor to get around this
limitation. BTW a table cannot be a variabl/parametere in an SQL query so you'll need to update the SQL statement manually for each TABLE. Using VBA would be the best. Here is some speudo code you could use after you created the Query manually first DIm qtb as QueryTable DIm strTable as String Const Query = "Select * FROM %TABLE% where year=?" Set qtb = Activesheet.QueryTables(1) qtb.CommandText = Query strTable = Inputbox("Enter a table Name") qtb.CommandText = replace(Query,"%TABLE%",strTable) qtb.refresh DM Unseen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple or Variable cell references in Solver (Excel 97) | Excel Worksheet Functions | |||
Automatically Changing Cell Reference's when Pasting in Excel | Excel Discussion (Misc queries) | |||
I want to use a formula in excel to highlight a cell 30 days prio | Excel Worksheet Functions | |||
copying cell names | Excel Discussion (Misc queries) | |||
Copy cell format to cell on another worksht and update automatical | Excel Worksheet Functions |