David Jenkins
New Member
Hi All.
I have been working on automated report and I was using.
The problem with this is, it doesn't give me a chance to do anything with the workbook if I want to make changes.
What I was thinking if there was someway to call on a Sub after the save that would call a Msgbox that has a counter in it (lets say five minutes) at the end of the count down the workbook would just close itself, or if i clicked a button it would stop the countdown and not close the workbook?
I saw an old addin for something similar but I dont want to start putting addins into my workbook.
D.
I have been working on automated report and I was using.
Code:
Sub Workbook_Open()
ActiveWorkbook.RefreshAll
ActiveWorkbook.Save
ActiveWorkbook.Close
End Sub
The problem with this is, it doesn't give me a chance to do anything with the workbook if I want to make changes.
What I was thinking if there was someway to call on a Sub after the save that would call a Msgbox that has a counter in it (lets say five minutes) at the end of the count down the workbook would just close itself, or if i clicked a button it would stop the countdown and not close the workbook?
I saw an old addin for something similar but I dont want to start putting addins into my workbook.
D.