Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default toolbar macro for esp. worksheet

Hello,
I'm trying to coustumase a tool bar to have only the
kind of command buttons that I need and some are actualy
use to open a userform within a template worksheet, and
untile I close that workbook, works find but once I
saveclose it, the template lose all conection to the
macro. now the macro is only conectet to the save
worksheet I close early.
Eny help will be very much apreciated.
Mauricio R.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default toolbar macro for esp. worksheet

Mauricio

The way that I handle that problem is to create the toolbar in code when the
workbook opens and delete it when the workbook closes. That way, the
buttons will always point to the macros in that workbook. For some
workbooks, I use the Activate and Deactivate events instead of the Open and
BeforeClose events because I may have more than one workbook open that's
based on the same template.

Post back if you need help creating the toolbars in VBA.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Mauricio" wrote in message
...
Hello,
I'm trying to coustumase a tool bar to have only the
kind of command buttons that I need and some are actualy
use to open a userform within a template worksheet, and
untile I close that workbook, works find but once I
saveclose it, the template lose all conection to the
macro. now the macro is only conectet to the save
worksheet I close early.
Eny help will be very much apreciated.
Mauricio R.



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
TOOLBAR FOR A MACRO FARAZ QURESHI Excel Discussion (Misc queries) 3 July 3rd 08 12:12 PM
Save Macro and Custom Toolbar in Worksheet Pat Excel Discussion (Misc queries) 1 April 24th 08 04:12 AM
macro in toolbar jatman Excel Discussion (Misc queries) 1 September 21st 06 08:25 AM
macro toolbar Ankur Excel Discussion (Misc queries) 3 August 5th 06 01:55 AM
How do I move my worksheet from under the toolbar? JewlyCC Excel Discussion (Misc queries) 1 January 11th 05 11:02 PM


All times are GMT +1. The time now is 03:48 AM.

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"