Via VBA I change the formatting of a cell. This cell is unprotected.
When I protect (Tools - protect) the sheet, I get an error when I start the VBA-code (macro).
Some code I wrote:
ActiveCell.Offset(1, 0).Activate
ActiveCell.Formula = Now()
Selection.NumberFormat =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.