Does anyone know if it possible to import a spreadsheet with a known name that sits within the same file location as the database however this location isn't known. This database will be in multiple file locations and I want the code to be dynamic
Cheers Chris
Thanks for that but as I am only a newbie to this I need a bit more info. I have been looking in the Object Browser and the help, and I can't find anything. Could you give me an example of how this is used
In the debug window (Ctrl+G) type the following:
? CurrentProject.Path
After pressing the enter you should see the location of your database (provided you don't play with an old version of access).
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.