View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
-[::::Shamran::::]- -[::::Shamran::::]- is offline
external usenet poster
 
Posts: 22
Default Procedure too large" error ...DAMN


"Harald Staff" wrote in message
...
Hi Shamran

You can run multiple macros by calling them from another macro. Try
running
Main here -or to assign it to a button:

Sub Main()
Macro1
Macro2
Macro3
End Sub

Sub Macro1()
MsgBox "I'm too sexy for my shirt"
End Sub

Sub Macro2()
MsgBox "I'm too sexy for my hat"
End Sub

Sub Macro3()
MsgBox "I'm too sexy for this song"
End Sub

HTH. Best wishes Harald


I have just tried it and it works ... talk about saving my day ... thanks !!

jesper