Woorkbook toolbar

Q

Question Boy

Hello,

I tried creating a custom toolbar for a workbook with a button to execute a
macro. It appeared to be working but now I notice that once the workbook is
used once the toolbar appears in Excel for all other workbooks? I only want
it attached to the selected workbook in question which I thought was the
point of doing the attach part of the toolbar creation. What am I missing?

Thank you,

QB
 
Q

Question Boy

I did some reading/searching online and found info where I needed to create
an BeforeClose event that deletes the CommandBar before closing the workbook.

Is this the right approach? If it is attached to the workbook why should I
delete it everytime it it used? I figure I am missing something simple.

Thank you,

QB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top