![]() |
Need consistent path name for Excel--Access query; Excel keepschanging it
I have spreadsheets that pull from Access for PivotTable information.
The database resides on a shared drive; the spreadsheets are on a SharePoint. I've set them to automatically refresh. The problem is, I want the path to the share drive to be \\share\drive \directory\database.mdb. Excel keeps changing it back to A:\\directory \database.mdb. Although that path *happens* to work when I have the drive mapped as A:\\, other people are going to have it mapped to different letters. What can I do to force Excel to use a consistent naming scheme? The part of the query that contains the path to the Access database is in Edit Query -- Connection. If there is somewhere else I need to be changing it, please let me know. Deleting my existing queries and starting from scratch with \\share\drive didn't work; it automatically made the path be A:\\. Provider=Microsoft.Jet.OLEDB.4.0;Password="";User ID=Admin;Data Source=<<this is where I'm changing it;Mode=Share Deny Write;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False |
Need consistent path name for Excel--Access query; Excel keepschanging it
I have the same problem. Any solutions out there?
Thanks H |
All times are GMT +1. The time now is 12:07 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com