View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jennifer Crawford Jennifer Crawford is offline
external usenet poster
 
Posts: 6
Default Changing Query source location?

I have set up an Excel worksheet so that it pulls data
from an Access database when the user fills out two cells.

When I distribute this worksheet, the location for the
Access database will have changed.

Is there a way for me to somehow programatically update
the location for the Query source (database) without
having to manually go recreate the query to point to the
new source?

I should note that I have tried to actually manually
overwrite the path name for the database in the Query SQL
window, but this still gives me errors.

Thanks!

Jennifer Crawford