I have code in a macro to prompt the user to save the file, followed by a message box to say the task is complete.
It has worked beautifully to date.
Today!!!! I get the "Please save the report" message, and then straight away the "all complete" message box and the whole *&^#@) thing hangs for ages. THEN, I can edit and make changes to my UNSAVED file, but I can't access the Home menu to save the dang thing and eventually it just falls over.
Code:
MsgBox ("Please save the report")
file_name = Application.GetSaveAsFilename(FileFilter:="Microsoft Excel file (*.xlsx), *.xlsx")
If file_name <> False Then
ActiveWorkbook.SaveAs Filename:=file_name
MsgBox "File Saved!"
End If
MsgBox ("All worksheets have now been created. Thank you.")
It has worked beautifully to date.
Today!!!! I get the "Please save the report" message, and then straight away the "all complete" message box and the whole *&^#@) thing hangs for ages. THEN, I can edit and make changes to my UNSAVED file, but I can't access the Home menu to save the dang thing and eventually it just falls over.