Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Help !!!! new to codes
I have a spreasheet where I need a certain range of linked cells (within another spreasheet) to autofit I used the following code which I found on google and it worked, but as soon as I protect the spreadsheet and I have to protect the cells containing the links as the formulas asked to be locked it doesnt work I get an error code Private Sub Worksheet_Calculate() Me.Rows.AutoFit 'or be specific Me.Rows("1:33").AutoFit End Sub I need the autofit to work in the following locked and protected cells F11 / F12 / F13 / F14 F16 / F17 / F18 / F19 /F20 F22 / F23 / F24 F26 Can anyone help ? Thanks Lucy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sorting non-linked cells in a linked worksheet | Excel Discussion (Misc queries) | |||
Auto fit text in cell of a protected worksheet | Excel Discussion (Misc queries) | |||
Edit text format in non-protected cells in protected worksheet | Excel Discussion (Misc queries) | |||
Auto Filter with Protected Worksheet | Excel Worksheet Functions | |||
how to i use auto filter on a protected worksheet | Excel Programming |