Menu commands - overruling with macro - How to do it?
Thanks. I'll look into it.
Jan
"Bernie Deitrick" skrev i en meddelelse
...
Jan,
What I really need is to make my own function for fx saving a file,
and make
that the only way to save a file (in a specific workbook).
As in my example, use the Workbook's BeforePrint event for this, in
the specific workbook.
Other than that, you can try to intercept all the commands and
override all the shortcuts, but you'll have a bunch of angry users.
Search the Google groups to find examples - none are foolproof.
HTH,
Bernie
MS Excel MVP
|