Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I need to query several records (averaging 2,000) that change every week. First of all Microsoft query tells me that the SQL statement is too long. Let's say that I reduce the size of the statement to a workable size if not other options exist, What statement can I use to refer to every single element of a dynamic range in the WHERE part of the SQL statement instead of typing every single one AND, AND ? I tried the following but obviously didnt work because it reads it as a single item "WHERE (MyTable.MyField= ' & Sheet2.Range("A1").CurrentRegion & "')" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing the range for averages with out changing the formula. | Excel Worksheet Functions | |||
SQL: custom names of columns when using IIF (excel quering access database) | Excel Programming | |||
Excel(2007) crashes on quering for DrawingObjects selection | Excel Programming | |||
Changing Range with Months | Excel Programming | |||
Need help changing Range | Excel Programming |