FindControls ID

B

Bogdan

Hi there,

I got a code which enables you to activate/deactivate certain menus/options
according to your needs. The code is like this:

Dim Ctrl As Office.CommandBarControl
For Each Ctrl In Application.CommandBars.FindControls(ID:=840)
Ctrl.Enabled = True
Next Ctrl

Do u know where can I get a comprehensive list of IDs and their meaning?

Thanking in advance,

Bogdan
 

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