I am trying to disable the send e-mail (as attachment) button in one of the
custom toobars. However, I do not know the specific name or line of code. The
below example works for the print button in a report:
CommandBars("Print Preview").Controls("Print").Visible = False
Now, I need to do this for the custom toolbar (only for certain users) on a
form.
Any help would be GREATLY appreciated.
Thanks in advance

Signature
Callan
Callan - 07 Feb 2006 09:31 GMT
Okay....well, I found it.
If anybody wants to know in the future..
The specific code goes like this.
CommandBars("Menu Bar").Controls("mail recipient (as
attachment)...").Visible = False
It's the same for the others too. eg:
New...
Open...
etc.

Signature
Callan