Internation apps and menu entrys

C

Communicator CX

Hi

I need to know how I can know the menu entrys from f.e. Word.

At the moment I use the textual name from the menu item to find it.

I need something like a unique number:

a) Word 97 up to 2003
b) different languages f.e. english, german, french

f.e.:
App.CommandBars("Standard").Controls("&Save").Enabled = False

Question:

Can I get the Id like:

xID= App.CommandBars("Standard").Controls("&Save").ID

and it is unique to Word 97 up to 2003 and all international Word
versions???

Thank you in advance
tobias
 
T

Tony Jollans

Hi Tobias,

Every built in control has a unique ID across all versions of Word and all
languages and referring to a control by its ID is guaranteed to work always
everywhere.

Also CommandBars(1) is always the Standard Commandbar.
 

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