Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-28-2021, 07:09 PM
Marcia's Avatar
Marcia Marcia is offline Message to Protect Sheet after a command Windows 10 Message to Protect Sheet after a command Office 2019
Expert
Message to Protect Sheet after a command
 
Join Date: May 2018
Location: Philippines
Posts: 553
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
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command button. To multi command Taylormations Word VBA 11 09-14-2020 02:39 AM
How do I un-protect docs I didn't protect? doctorduncan Word 4 05-30-2019 11:09 AM
Message to Protect Sheet after a command Outlook 2013 > Command to view the header without opening a suspicious message? Macintosh Outlook 2 02-04-2019 05:38 PM
Show table list by using chek box command and save document on sharepoint by using command button Zhibek Word VBA 3 08-16-2018 06:19 PM
Repair command results in error message srdiamond Office 0 03-01-2011 12:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft