tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I need a macro that when I go to close the workbook down it looks at sheet "welcome" cell F1 and if it says "Submitted" then closes but if not brings up a message box saying
"Data not sent"
"Do You wish to close document?"
"Any Changes will be lost"
Yes No,
if they click yes it closes
if they click no it stays open.
Please help if you can
Thanks
Tony
I need a macro that when I go to close the workbook down it looks at sheet "welcome" cell F1 and if it says "Submitted" then closes but if not brings up a message box saying
"Data not sent"
"Do You wish to close document?"
"Any Changes will be lost"
Yes No,
if they click yes it closes
if they click no it stays open.
Please help if you can
Thanks
Tony