Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Howcome the workbook opened by VBA library reference changes?

A workbook whose full path on a Novell fileserver is

\\LC30\VOL10\USERS\NICK\ResearchandDevelopement\Wh olesaleRevenue\application.xls

contains a VBA library reference to

\\LC30\VOL10\USERS\NICK\ResearchandDevelopement\li brary.xls



When I copy application.xls to a folder (shared by other users) called

\\LC10\VOL10\POOL\SHARED\ResearchandDevelopement\W holesaleRevenue\application.xls

and open it, the original library in

\\LC30\VOL10\USERS\NICK\ResearchandDevelopement\li brary.xls

is picked up. This seems logical enough: The reference information
stores the full path of the library.


However, if another user with access to the shared folder but NOT to
my personal folder \\LC30\VOL10\USERS\NICK\ResearchandDevelopement\
opens the exact same copy of application.xls they end up with the
following copy of library.xls opened by the reference in
application.xls:

\\LC10\VOL10\POOL\SHARED\ResearchandDevelopement\l ibrary.xls

This would imply that the reference information on the library
includes a relative path to the the location of application.xls, if
the original full path is not accessible.

Does anyone know what the rules are for determining which copy of a
library reference VBA chooses?

Thanks for you insights.

NIck
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
Reference Library - Missing Library in a lower version. luvgreen Excel Programming 1 October 7th 04 02:08 AM
Opening a workbook if not opened, going to it if already opened neotokyo[_3_] Excel Programming 0 September 24th 04 08:56 PM
Opening a workbook if not opened, going to it if already opened neotokyo[_2_] Excel Programming 1 September 24th 04 07:17 PM
Opening a workbook if not opened, going to it if already opened neotokyo Excel Programming 1 September 24th 04 06:33 PM
How to see if the opened workbook is opened by another user ? balexis Excel Programming 1 August 18th 04 04:11 PM


All times are GMT +1. The time now is 03:08 AM.

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"