View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
CurtH CurtH is offline
external usenet poster
 
Posts: 26
Default Sequentially run macros

I see you left off the Option Explicit statement. Why? What's you take on
the above question?

"Bob Phillips" wrote:

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.