I have an Auto_Close(macro) subroutine where I do the ActiveWorkbook.Close(0)
Which of course will close the Excel file without saving it and NOT prompting
the user whether to save the Excel file.
However, while I am editing and debugging the Excel file which has the the
Auto_Close subroutine(macro) in it.
And when I manually "Saved" the Excel via the File command bar button and select
"Exit" from the list.
Upon "Exiting" the Excel file, Excel prompts the user whether to save the Excel
file, even though I already saved it.
How can I totally eliminate this annoying prompting panel to appear, when I
already have Close(0) or "Saved" the Excel file ?
Sometimes it even promts the person working with the Excel file, the workbook
password upon "Exiting" when an error has occured in it.
There must be some sort 1 line of code that would solve this and not display
this prompt and "Exit" the Excel file.