Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Macros: Can you use relative paths??

Status
Not open for further replies.

SlakeB

MIS
Jun 15, 2005
40
US
When performing certain macros like 'transfer to spreadsheet', can you use relative paths (like ../spreadsheets/test.xls) to the files involved or do you need to use the full absolute path (like C:/spreadsheets/test.xls)?

relative paths don't seem to be working for me.
 
I believe you have to use the full path. You can convert that macro into VBA however; and then use a variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top