Command Bar ID

0

05hammer

I have the ORK .ADM templates added into a GPO. I need to prevent
users from using the Send To.. Command Bar. It's not listed in the
predefined "Disable command bar and menu items" so I have to go to the
custom "Disable command bar and menu items" section, and it wants the
commands bar ID to disable it. I don't have Visual Basic for
Applications, and it isn't looking like I will be getting it any time
soon. Does anyone happen to know the command bar ID for "Send To..."
and/or any of it's sub-commands?

Thanks for your time.
 
L

Lene Fredborg

The IDs and captions of the controls in the "Send to" commandbar are:

1 - ID 3738: &Mail Recipient
2 - ID 6139: Original &Sender...
3 - ID 5958: Mail Re&cipient (for Review)...
4 - ID 2188: M&ail Recipient (as Attachment)...
5 - ID 259: &Routing Recipient...
6 - ID 938: &Exchange Folder...
7 - ID 3728: &Online Meeting Participant
8 - ID 1707: Recipient using a &Fax Modem...
9 - ID 7392: Recipient using Internet Fa&x Service...
10 - ID 3251: Microsoft Office &PowerPoint

The list above is a result of running the following macro:

Dim n As Long
For n = 1 To CommandBars("Send to").Controls.Count
With CommandBars("Send to").Controls(n)
ActiveDocument.Range.InsertAfter n & " - ID " & .ID & ": " &
..Caption & vbCr
End With
Next n

Hope this helps.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
 

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