This for us learners (newbies to VBA)
I learned that if I include the below after writing my code and before 'End Sub', my worksheet will go into protected mode after the code is ran.
...................................................
ActiveSheet.Protect Contents:=True
End Sub
-----------------------------------------
I learned that if I include the below after writing my code and before 'End Sub', my worksheet will go into protected mode after the code is ran.
...................................................
ActiveSheet.Protect Contents:=True
End Sub
-----------------------------------------