I have some very large workbooks that take a long time to save. Because of this, I made a simple form to use as a message box to state that the file is being saved. This works fine. But, just for fun and experence, I was wondering if a progressbar can be added. Below is the code being used.
From what I read about the progress bar, you need to set points in the program where it is updated. That can not be done with this simple code. Is there anything that can be done?
Thanks in advance
Roy
Code:
Msg_Saving_Files.Show False 'Show message that the program is saving
Application.Wait Now + TimeSerial(0, 0, 1) 'Wait 1 second before next command _
If this is not used, then the _
form is blank for some reason
ActiveWorkbook.Save 'Save the workbook
Unload Msg_Saving_Files 'Remove the "Saving File" message
From what I read about the progress bar, you need to set points in the program where it is updated. That can not be done with this simple code. Is there anything that can be done?
Thanks in advance
Roy