Changing Column Width on a protected worsheet

tobysdhc

Board Regular
Joined
Aug 11, 2015
Messages
54
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Web
Hello,

I have a worksheet that has several protected cells. Several of the formulas return a long date. I'm running into a problem with making the column width while the sheet is protected. Is there a way to keep the protection and give people the opportunity to modify the column width?

I am using Excel 2013
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

gsistek

Well-known Member
Joined
Apr 4, 2011
Messages
660
When you protect the sheet, check the box next to Format Columns.
If you are protecting it via VBA use .Protect allowFormattingColumns = TRUE
 

JeanKim

Board Regular
Joined
May 31, 2016
Messages
183
I may be wrong but probably right.
if you can edit column width then it is not protected.
unless you unprotect it, you can not change the format.

you can use macro to give them choice by yes no alertbox to release protection or not.

edit: I was wrong again. :)
 
Last edited:

Forum statistics

Threads
1,136,780
Messages
5,677,688
Members
419,712
Latest member
LearningCR

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top