How to set off CommandBars

H

hstijnen

Hi,

I've made an Excel 2000 application in a template. When starting a workbook
from the template I want to hide all the commandbars. I thougth this could be
done in the Workbook_Open() trigger:

For each cb in CommandBars
cb.Visible = false
nect cb

However, when the process of creating a workbook from the template arrives
at this code, the value of CommandBars is Nothing.

What can I do? When is that value known?

Thanks in advance,

Henk
 

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