ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   toolbars - button (https://www.excelbanter.com/excel-programming/415451-toolbars-button.html)

leungkong

toolbars - button
 
I have created a customize toolbars and some button.
I have assigned Macro in the button.
But I find that if i save as the workbook and rename the workbook, the bath
of macro also changed.
when i open the original workbook, i need to assign macro again.
any suggestion to me?
can i create the toolbar and assign macro when the workbook is open?
and delete the toolbar when the working close?
Thanks so much.

Gord Dibben

toolbars - button
 
See Debra Dalgleish's site for creating toolbars.

http://www.contextures.on.ca/xlToolbar02.html

If you just want it for one workbook, ignore the part about saving as an
add-in.


Gord Dibben MS Excel MVP

On Sun, 10 Aug 2008 19:55:00 -0700, leungkong
wrote:

I have created a customize toolbars and some button.
I have assigned Macro in the button.
But I find that if i save as the workbook and rename the workbook, the bath
of macro also changed.
when i open the original workbook, i need to assign macro again.
any suggestion to me?
can i create the toolbar and assign macro when the workbook is open?
and delete the toolbar when the working close?
Thanks so much.



leungkong

toolbars - button
 
Thanks Gord,
you are a Genius


"Gord Dibben" wrote:

See Debra Dalgleish's site for creating toolbars.

http://www.contextures.on.ca/xlToolbar02.html

If you just want it for one workbook, ignore the part about saving as an
add-in.


Gord Dibben MS Excel MVP

On Sun, 10 Aug 2008 19:55:00 -0700, leungkong
wrote:

I have created a customize toolbars and some button.
I have assigned Macro in the button.
But I find that if i save as the workbook and rename the workbook, the bath
of macro also changed.
when i open the original workbook, i need to assign macro again.
any suggestion to me?
can i create the toolbar and assign macro when the workbook is open?
and delete the toolbar when the working close?
Thanks so much.





All times are GMT +1. The time now is 12:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com