View Single Post
 
Old 09-28-2021, 07:09 PM
Marcia's Avatar
Marcia Marcia is offline Windows 10 Office 2019
Expert
 
Join Date: May 2018
Location: Philippines
Posts: 527
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

Quote:
Originally Posted by Logit View Post
Rather than use a message to the User ... how about placing the required code in the ThisWorkbook module BEFORECLOSE ...
Thank you Logit. My knowledge of vba is a big appreciation of what it does, copying the code supplied by generous experts in the internet that exactly fit my requirements. I ask help in this forum when I could not find the correct code that I need.
The BeforeClose code is for saving. I do not honestly know how to edit the code to protect the sheet after the user has executed the insert rows or hide commands.
Reply With Quote