Hello everyone,
Currently I am working on a excel sheet with macro's. If I choose 'NL' in D8 I want H8:J8 locked and if it is other than 'NL' H8:J8 will be unlocked.
I am using the following code:
I don't know what i did wrong but somehow it gives me a error 13 message that makes the following sentence yellow: If Target <> Range("D8") Then Exit SubFormula:Please Login or Register to view this content.
Is it possible to make the range D8:D200?
Also, I want this code to be working for the whole workbook instead of worksheet.
Could anyone help me with this code?
Bookmarks