Livin404
Well-known Member
- Joined
- Jan 7, 2019
- Messages
- 743
- Office Version
- 365
- 2019
- Platform
- Windows
Hello I have a database entry sheet where the results are given with a Pivot table. In Column B I have remarks but in order to read the full remarks, I have to unlock the sheet then format.
I tried the following macro with no success. It's on a protective sheet. I only need Column B.
Thank you in advance.
I tried the following macro with no success. It's on a protective sheet. I only need Column B.
Thank you in advance.
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
ws.Unprotect Password:="mozzer"
.WrapText = True
ws.Protect Password:="mozzer"
End Sub