Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / February 2006

Tip: Looking for answers? Try searching our database.

Send mail (as attachment) button issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Callan - 07 Feb 2006 09:13 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.