Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Linking to Access tables using UNC paths

Hi

I have an Excel 2003 spreadsheet which contains a link to a data table in
Access 2003. I have set up the link to use the full UNC path and have
checked this by checking the SQL statement of the query.

However after several users have used the sheet the link appears to revert
to using mapped drives. Let me explain further.

The sheet is used on several sites; some use T:\ to map to \\server\dept,
others use V: for the same share. ALTHOUGH the SQL statement still shows
\\server\dept the sheet appears to be looking in T:\ or V:\ depending on the
last user to save the sheet.

I have used Microsoft Script Editor to examine the contents of the workbook
and behold it shows

<x:QuerySource
<x:ConnectionDSN=MS Access
Database;DBQ=T:\public\commondata\pcf_v2.mdb;Defau ltDir=T:\public\commondata;DriverId=25;FIL=MS Access;MaxBufferS</x:Connection

and not the UNC path! Yes the SQL statement still shows \\server\dept

Yes I have tried using the find and replace in the editor, and this seems to
fix the issue (at least until another user opens it I think) BUT it wrecks
virtually every graph in the workbook.

Other Microsoft pages suggest that Excel is clever enough to change full UNC
paths for Mapped drives (thanks for that), however the workbooks are opened
using shortcuts which also utilise the full UNC path and NOT mapped drives
which is supposed to negate this feature.

Any Suggestions??
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
Linking access and excel Linda Excel Discussion (Misc queries) 0 November 5th 07 05:07 PM
Linking worksheet to Access Tables dan Excel Worksheet Functions 0 August 11th 06 09:58 AM
Linking access tables, querys Beatrix Excel Discussion (Misc queries) 1 November 4th 05 01:23 PM
Linking to access Carolyn Excel Discussion (Misc queries) 0 May 17th 05 06:35 PM
Linking Pivot Tables to Access Queries Nigel Links and Linking in Excel 1 April 7th 05 11:41 PM


All times are GMT +1. The time now is 05:09 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"