Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable/Enable File SendMail 1

Status
Not open for further replies.

dunkyn

Technical User
Apr 30, 2001
194
US
I need to have users enter a password before a file can be emailed to another dept.

I have the code working for the password entry, but how do I find a workaround for them just using File Send to Mail Recipient from the main menu?

Any thoughts appreciated.

Thx.
 
This so do it.

Code:
Application.CommandBars("Worksheet Menu Bar").Controls("&File").Controls("Sen&d To").Enabled = False
 
thank you.

It looks so obvious, but sometimes it's so difficult to nail down.

I'll try it!
 
This works great...I want to give a star...

Where is it?


 
I believe it is the Mark this post as a helpful/expert post at the bottom of the post.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top