Workbook_Open does not work

W

Woodsman

I have this code in Workbook:

Sub Workbook_Open()
Application.CommandBars("Custom1").Visible = True
End Sub

After opening the workbook Custom1 toolbar does not apear. I have to turn it
on manually from the View Menu.

What do I have to do to make it work?
Thanks
 
G

Gary''s Student

Make sure you put the macro in the Workbook code area, not a standard module.
 

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