Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Relative Queries
I have several OLE DB queries that work just fine. The show a source of
M:\MyNetwork\MyFolder\MyDB.mdb. Is it possible to make this a relative reference so that it just finds MyDB.mdb when it resides in the same folder. TIA, Paul Hammond |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Relative Queries
Public MpathY as string="M:\MyNetwork\MyFolder\MyDB.mdb"
Put this in module1 MpathY can then be the source word "Paul Hammond" wrote: I have several OLE DB queries that work just fine. The show a source of M:\MyNetwork\MyFolder\MyDB.mdb. Is it possible to make this a relative reference so that it just finds MyDB.mdb when it resides in the same folder. TIA, Paul Hammond |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Relative Ranges in excel macro | Excel Discussion (Misc queries) | |||
Relative Ranges in excel macro | Excel Worksheet Functions | |||
Moving / Sharing excel files with queries | Excel Discussion (Misc queries) | |||
change data source for many queries at once? | Excel Worksheet Functions | |||
How do i make a macro "relative" to cell? | Excel Discussion (Misc queries) |