Names of Word CommandBars

A

Alan

Does anyone know of a list of, or other documentation on, the
names of the various CommandBars in Word 2003?

I am trying to find the name of the shortcut menu that appears when
I am in a cell of a Word table and I right-click.

I have searched the Internet but have been unable to find such a
list.

Thanks in advance. Alan
 
G

Greg Maxey

Alan,

It is "Table Text" You can create a list with this code:

Sub Test()
Dim oCB As CommandBar
For Each oCB In CommandBars
ActiveDocument.Range.InsertAfter oCB.Name & vbTab & oCB.Type & vbCr
Next oCB
End Sub
 

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