Syntax for Application.Ontime incl Variable Parameter
Hi
I have sub below, which calls another proc after it finishes (it seemed to
error otherwise).
Private Sub App_WorkbookOpen(ByVal Wb As Excel.Workbook)
...
...
dTimeDefault = Now() + TimeValue("00:00:05")
Application.OnTime dTimeDefault, "CreateNewWorksheet"
|