code from menubars

paulmcdonnell

Ready to Help
Local time
Today, 17:07
Joined
Apr 11, 2001
Messages
167
Hi guys,

******* QUICKIE *******

I can get a menu bar to run macros, but how do I attach more complex code to the action event of a menu bar. Can you do this?

CHeers
PAUL
 
You can attach a function to a menu command or button.

Click View -> Toolbars -> Customise then right-click on the appropriate entry and select Properties from the menu.

In the Action property enter =FunctionName()
where "FunctionName" is, of course, the name of your function.

Simon
 

Users who are viewing this thread

Back
Top Bottom