Hi
The following code allows you to forget the 'Dato' sheet
The cells of the J: M columns were protected (Format, format cells protection, check box protect). The A: I cells were deprotected.
The 'Faktura' sheet was protected with the password '123'. Feel free to change,
, but also change the code so that VBA has the ability to unprotected the sheet.
I also protected the VBA project with the same password (but you can choose a different one) - View Project explorer, under Microsoft Excel Objects, right click and choose VBAProject Properties.
See the code and the file
Bookmarks