LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Issues with Referencing .XLA file on a Server

Hi,
I have a set of macros that are used for company standard documents.
The Macro's are in an .xla file that I need to have reside on the
server as 100+ people will be using the documents that reference these
macros.

I am having trouble with how to correcly refernce the .xla so that it
will either always reference the .xla on the server (I don't mind if
it's hard coded) or that it will correctly reference the .xla on the
individual user's C:\ drive (excel addins) folder if the .xla is
copied there via a login script.

The .xla consists of macros and functions.
1.) A macro to change the logo to a new logo - it pops up a user form
and then changes the logo to the newly selected logo
2.) Functions for document properties (eg http://www.cpearson.com/Excel/docprop.htm)

I have tried numerouse examples posted around the groups to try and
get the macros to work with no luck.

Attempt 1 - Copy the .xla file to the user's addins folder on the C:
\drive.
When other users open the workbooks that reference the macros and
functions they get a hard coded reference to the .xla file on my PC. I
have seen posts and web sites saying to do it this way, and I would
have no problem doing it this way, but I just can't seem to get it to
work.

Attempt 2 - Leave the .xla on the server and create a reference to it.
I've tried creating the reference manually via the VBA interface, I've
tried setting the reference through code on workbook open (as per
http://groups.google.com.au/group/mi...nu m=32&hl=en)
and I've tried just referencing the .xla throught he Addins dialog (as
per
http://groups.google.com.au/group/mi...nu m=18&hl=en)

Every time I close the workbook and then re-open it the reference is
lost (no matter which way I do it).

One post I read said the .xla needs to be in the same folder as the
workbook. this is not possible as thousands of workbooks will be
created and saved all over the server, and they will still always need
to be able to reference the .xla.

Can anyone help with this and suggest how I set this up so it always
works.

Thanks

 
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
Shared File Issues GMc[_2_] Excel Worksheet Functions 0 June 12th 08 03:08 PM
Issues referencing range between workbooks Rob Manger Excel Discussion (Misc queries) 3 August 16th 06 01:10 AM
Shared file issues [email protected] Excel Programming 1 May 18th 06 06:41 PM
adodb connecting to a server issues [email protected] Excel Programming 0 March 7th 06 10:39 PM
Issues in Opening a file Manish Bajpai Excel Worksheet Functions 0 January 17th 06 02:45 PM


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

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

About Us

"It's about Microsoft Excel"