View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Zilla[_2_] Zilla[_2_] is offline
external usenet poster
 
Posts: 51
Default Cell/worksheet protection with macros enabled

I'm using a VBA macro courtesy of Debra D. on this NG
to temproraily resize the column for a drop-down list. All
work fine.

Now I've lock some of these cells that this macro runs
on, and enabled sheet protection on "Contents" only.
Now when I use my spreadsheet, I get an Run-time
Error 1004 - Unable to set column width property of
the range class. I've tried protection with either "Objects"
or "Scenarios" only checked, to no avail.

I gues this means I can not run macros that muck with
cell "properties" with sheet protection?

--
- Zilla
(Remove XSPAM)