Good day,
I need a code which will check whether a particular file exists in a particular folder on Excel exit.
If the file exists it should just close Excel with no popup.
If the file does not exist it should popup with a message. I would like the popup to have a custom message and to have two buttons 'Go Back' or 'I am Viewing Only'. If the latter is clicked Excel should close, if the former is clicked the popup should close and Excel should remain open.
Thank you.
I need a code which will check whether a particular file exists in a particular folder on Excel exit.
If the file exists it should just close Excel with no popup.
If the file does not exist it should popup with a message. I would like the popup to have a custom message and to have two buttons 'Go Back' or 'I am Viewing Only'. If the latter is clicked Excel should close, if the former is clicked the popup should close and Excel should remain open.
Thank you.