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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Assign VBA code to shortcut menu 1

Status
Not open for further replies.

MoiraT

Technical User
Jun 13, 2002
150
GB
Hi
Can anyone tell me how to assign VBA code to a shortcut menu item please? I have a macro which sends a report by email when the user clicks "Send report" on their shortcut menu, but I want to change this to VBA code so that I can add more functionality, but how do I assign this code to the "Send report" shortcut menu? I'm sure it is something simple, but I just can't see it! Is it right that I can make the VBA code a procedure within the report?
Thanks for your help.
 
I've sorted this by creating a macro that uses the RunCode action that runs the Function I want to use - obvious really. Hope someone else can use this info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top