Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 196
Default Toolbar with Macros

I am using Excel 97.

I have an excel template which has a toolbar attached to
it. The code for each of the buttons on this toolbar is
stored within the template. When I run a new spreadsheet
from the template the code on the toolbars buttons follows
the new spreadsheet. Then when I open the template some
time later sometimes the code behind the buttons on the
toolbar have changed to the spreadsheet that I created
from the template! Is there a way of preventing this.

I know I could put the code in my personal workbook but
thi is not suitable as the template will potentially be
put on over 1000 computers and some users will have their
own personal workbook with other code in it.

Any solutions, please?


Mark
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Toolbar with Macros

Mark,

Put the code in an addin, and distribute the addin to your users.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Mark" wrote in message
...
I am using Excel 97.

I have an excel template which has a toolbar attached to
it. The code for each of the buttons on this toolbar is
stored within the template. When I run a new spreadsheet
from the template the code on the toolbars buttons follows
the new spreadsheet. Then when I open the template some
time later sometimes the code behind the buttons on the
toolbar have changed to the spreadsheet that I created
from the template! Is there a way of preventing this.

I know I could put the code in my personal workbook but
thi is not suitable as the template will potentially be
put on over 1000 computers and some users will have their
own personal workbook with other code in it.

Any solutions, please?


Mark



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
Putting macros on a toolbar Dudley Excel Discussion (Misc queries) 2 February 24th 06 01:21 PM
toolbar macros Ned Kelly Excel Discussion (Misc queries) 0 December 22nd 05 03:52 PM
Custom toolbar and macros MD Excel Discussion (Misc queries) 2 May 10th 05 05:31 PM
Custom Toolbar Macros Merlzie Excel Programming 1 October 14th 03 02:23 AM
Toolbar with Macros bw Excel Programming 4 July 31st 03 01:12 AM


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