D
dhstein
I have an event macro that will close the workbook after a certain number of
minutes. But if the user is working in another workbook, it fails. How do I
specify the workbook name ?
Here is the line:
Application.OnTime RunWhen, "SaveAndClose", , False
If the workbook containing the macro is "XYZ.xlsm" what is the syntax?
Thanks for any help on this.
minutes. But if the user is working in another workbook, it fails. How do I
specify the workbook name ?
Here is the line:
Application.OnTime RunWhen, "SaveAndClose", , False
If the workbook containing the macro is "XYZ.xlsm" what is the syntax?
Thanks for any help on this.