As part of my current VBA script I give the user the option to save the workbook.
however if the work book as just been opened and no changes have taken place then I don't want to give the user the option.
My idea... If you open a workbook and close it Excel does not prompt you to save, it simply closes. If you make any change you get the do you want to save prompt.
It is possible to identify the variable that controls this and use it for my purpose?
however if the work book as just been opened and no changes have taken place then I don't want to give the user the option.
My idea... If you open a workbook and close it Excel does not prompt you to save, it simply closes. If you make any change you get the do you want to save prompt.
It is possible to identify the variable that controls this and use it for my purpose?