View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Breunus Breunus is offline
external usenet poster
 
Posts: 1
Default Relative Path in Connection String

I am using Excel 2007 to import data from another Excel workbook using
Microsoft Query 2000. The solution works well with a fixed path, but I would
like the connection string to use a relative path (for example the current
directory) so that the files can be copied to a different location and still
function.

I have seen a number of web questions about this topic, but most involve a
programming solution. Is this possible just using Excel? Eg. to specify an
ODBC connection string that would solve the problem.