Forum Discussion
SamFares40
Apr 15, 2020Copper Contributor
VBA to hide set of columns is in conflict with protecting the sheet
Hello, i created VBA to hide a set of columns. But when i try to protect certain cells in sheet including the columns that will be hiden, i get the error message" Run time error1004, Unable to se...
- Apr 16, 2020When you protect a worksheet, one of the options is to allow "Format Columns". If you check that box you can hide and unhide columns on a protected sheet.
JKPieterse
Apr 16, 2020Silver Contributor
When you protect a worksheet, one of the options is to allow "Format Columns". If you check that box you can hide and unhide columns on a protected sheet.
SamFares40
Apr 16, 2020Copper Contributor
JKPieterse Thank you Jan!