05-11-2008, 06:19 AM
One way to accomplish this is by putting all your scripts into Subs/Functions and using a master Function to call all these. Something like this:
Code:
Public Sub Login()
'your code
End Sub
Public Function LogOut()
'your code
End Function
Code:
Public Function MasterFunc()
Call Login
Call Logout
End Function