PC Review


Reply
Thread Tools Rate Thread

How are actual file location of VBA References treated?

 
 
Nicholas Dreyer
Guest
Posts: n/a
 
      22nd Oct 2006
The "ROOT" folders below are all locations on a Novell server.

A workbook with full pathname

<PERSONAL_ROOT>\ResearchandDevelopement\WholesaleRevenue\application.xls

contains a VBA library reference to

<PERSONAL_ROOT>\ResearchandDevelopement\library.xls



Next I copy application.xls and library.xls repectively to folders
(shared by other users)

<SHARED_ROOT>\ResearchandDevelopement\WholesaleRevenue\application.xls
and
<SHARED_ROOT>\ResearchandDevelopement\library.xls

When I then open application.xls, the original library in

<PERSONAL_ROOT>\ResearchandDevelopement\library.xls

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


However, if another user with access to the shared folder but NOT to
my personal folder <PERSONAL_ROOT>\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:

<SHARED_ROOT>\ResearchandDevelopement\library.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.

|\|.

================================================================================

Hey you know something people? They won't go for no more
I'm not black, but there's a whole lotsa times Great Midwestern hardware store
I wish I could say I'm not white. Philosophy that turns away
(1965, Frank Zappa in Trouble Every Day From those who aren't afraid to say
-> Freak Out) What's on their mind -- The left behinds
Of The Great Society.
(1965, Frank Zappa in Hungry Freaks, Daddy
-> Freak Out)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different answers when using cell references as opposed to actual leobensmom Microsoft Excel Worksheet Functions 3 2nd Feb 2009 10:11 PM
How to I determine a found Outlook files actual location? Robb Microsoft Outlook Discussion 2 8th Aug 2008 08:50 PM
how to replace cell references with actual numbers famehunter@gmail.com Microsoft Excel Misc 5 21st Nov 2006 02:27 PM
how to replace cell references with actual numbers famehunter@gmail.com Microsoft Excel Programming 0 20th Nov 2006 03:56 PM
replacing cell references with the actual values they refer to Takeadoe Microsoft Excel Discussion 3 8th Feb 2006 12:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:02 PM.