Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Assigned Macro not working

All,

I have a workbook in which I've created buttons on the worksheet and
assigned macros to each. The macros are linked to another wb which I
have hidden and auto-startup when Excel opens. The purpose of this is,
when done, I will have 50+ documents that will need to use the same
macros on 40+ different computers. When future changes are made to the
macros (printer names, etc.), I do not want to have to change all 50+
documents. My plan is make the auto-starup doc available on the network
with a BAT file to automatically copy over the existing one on each
computer.

Problem I am having is the button on the worksheet loses it's link to
macro wb on the other computers. I have to re-assign the macro on all
40+ computers. Is there a way when I assign the macro to the button
for it *not* to store a "path" and only look for the hidden macro wb?

Currently, the error I get is... "A document with the name
"nsf_macros.xls" is already open. ..."

I appreciate any and all help with this.

Matt

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Assigned Macro not working

Might want to use an addin that creates a menu when it is loaded and deletes
it when it closes. Have the users load the addin from the network:

See Jan Karel Pieterse's tutorial at:

http://www.jkp-ads.com/Articles/DistributeMacro00.htm

http://support.microsoft.com/?id=167909
XL: Securing Visual Basic Code in Microsoft Excel

http://support.microsoft.com/?id=156942
XL97: How to Create an Add-in File in Microsoft Excel 97

http://support.microsoft.com/?id=211563
How to create an add-in file in Excel 2000

http://msdn.microsoft.com/library/en...xceladdins.asp

http://msdn.microsoft.com/library/en...exceladdin.asp

http://www.j-walk.com/ss/excel/tips/tip45.htm
Excel 97: Creating Add-Ins

Some of the above links may not work, but some should.

Here is an article about creating commandbars with code:
http://msdn.microsoft.com/library/en...ce04042002.asp

--
Regards,
Tom Ogilvy




"MattW" wrote in message
ups.com...
All,

I have a workbook in which I've created buttons on the worksheet and
assigned macros to each. The macros are linked to another wb which I
have hidden and auto-startup when Excel opens. The purpose of this is,
when done, I will have 50+ documents that will need to use the same
macros on 40+ different computers. When future changes are made to the
macros (printer names, etc.), I do not want to have to change all 50+
documents. My plan is make the auto-starup doc available on the network
with a BAT file to automatically copy over the existing one on each
computer.

Problem I am having is the button on the worksheet loses it's link to
macro wb on the other computers. I have to re-assign the macro on all
40+ computers. Is there a way when I assign the macro to the button
for it *not* to store a "path" and only look for the hidden macro wb?

Currently, the error I get is... "A document with the name
"nsf_macros.xls" is already open. ..."

I appreciate any and all help with this.

Matt



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
Use Macro To Change Which Macro Assigned To Command Button CVinje Excel Discussion (Misc queries) 0 May 25th 10 09:55 PM
Name Assigned Formula Not Working FARAZ QURESHI Excel Discussion (Misc queries) 3 December 31st 08 08:41 AM
Disappearance of assigned value of varaible when working with form vbaprog Excel Programming 7 January 19th 05 11:39 PM
AutoShape name assigned to macro Larry Excel Programming 4 October 19th 04 04:15 PM
Which Macro Is Assigned to a Button SidBord Excel Programming 3 April 29th 04 07:57 PM


All times are GMT +1. The time now is 07:28 AM.

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"