View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Sequentially run macros

Function Main_update()
Update_IMR
Update_Profile
End Funtion


Sub Update_IMR()
....Code...
End Sub
Sub Update_Profile
....Code...
End Sub
--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"CurtH" wrote in message
...
I have several macros which in a module. I tried adding a Function state
with the various subs in between ended by a END Function. It doesn't

work.
Does anyone have any suggestions? The code is like thus:

Option Explicit

Function Main_update()

Sub Update_IMR()
...Code...
End Sub
Sub Update_Profile
...Code...
End Sub
End Funtion

Please advise.