View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jan Kronsell[_3_] Jan Kronsell[_3_] is offline
external usenet poster
 
Posts: 34
Default Menu commands - overruling with macro - How to do it?

If I make a procedure like this in word:

Sub FilePrint()
MsgBox "hello"
End Sub

it will overule the normal File - Print menu command and the same goes for
alle the menu commands.

How do I accomplish the same in Excel. I tried with the above code in a
module, ThisWorkbook module and in a Sheet module.

am I doing someting wrong, or does it simply not work in Excel.

Jan