Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Query source location - how do I change?

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?

Thanks!

Jennifer Crawford
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Query source location - how do I change?

Jennifer,

will \\Server\path\subpath\filename.mdb format work for you?

steve
"Jennifer Crawford" wrote in message
...
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?

Thanks!

Jennifer Crawford



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change source of linked database query Rob Excel Discussion (Misc queries) 1 September 24th 08 07:17 PM
Change data source for MS Query TonyL Excel Discussion (Misc queries) 2 September 11th 08 10:44 PM
Can you change or alter source data using microsoft query? WaterQuality Excel Discussion (Misc queries) 1 August 3rd 07 04:16 PM
How do I change the datasource location for a query in Excel 2003 StormKatt Excel Discussion (Misc queries) 1 March 2nd 07 03:10 AM
MS Query Data Source Change rasinc Excel Discussion (Misc queries) 2 July 27th 05 07:09 PM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"