Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Add-in problem; button changes add-in path

I recently created some new EXCEL VB tools that are becoming popular in
my office. I put all in one workbook and saved it as an XLA file.
This file is then copied under the c:\program files\ directory in every
users PC.

I have created excel workbook templates that interface this software.
These templates have several macro buttons on the spread sheets that
call the sub procedures in the add-in.

Note, when assigning the macro, the list does not show the addin sub
procedures. I just typed in the name of the sub in the assign Macro
dialog box.

This works great until I found a little problem. When the template is
copied from the server to the hard drive and then back to the server,
Excel tries to "fix" the relative reference for the marco assigned to
the buttons. Now the button is looking for the add-in in
\\serveraddress\program files\ instead of c:\program files\. This is
quit annoying since now the template buttons needs to be re-assigned
back to the marcos.

How can I keep the Excel from changing the address of the add-in marco.







*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
changing the path behind a button derksj Excel Discussion (Misc queries) 1 September 11th 08 01:58 PM
Problem with references while opening Excel from IE using UNC path vrkorada Links and Linking in Excel 0 July 6th 07 02:53 PM
Browse button on form for folder path Greshter Excel Discussion (Misc queries) 2 January 12th 06 10:20 PM
UNC Path length problem opening a file in excel 2002 or 2003 John Excel Discussion (Misc queries) 3 October 14th 05 03:43 AM
Path\File name length problem Excel Crash on save as Datasort Excel Discussion (Misc queries) 0 April 8th 05 05:19 PM


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