Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default cell protection

A button should be clickable to run a macro even on a protected sheet. But
if the macro does something that requires an unprotected sheet the macro
might have to include the unprotecting and reprotecting of the sheet.

A possible alternative is to protect the sheet using the UserInterfaceOnly
perimeter of the of the worksheet Protect method (see Help). For most
actions the macro would not then have to do the unprotect/reprotect.

--
Jim
"ckane" wrote in message
...
| On a form, there are certain cells that I have locked so that they can't
be
| changed. Most of the cells are unlocked. Also on the sheet I have
several
| buttons that I have assigned macros to. When I protect the sheet and try
to
| run the macros I get an error message. What do I need to do to protect
the
| sheet and get the macros to run? Thanks.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cell protection spandit Excel Discussion (Misc queries) 2 June 5th 08 11:37 PM
Cell protection LDW Excel Discussion (Misc queries) 1 December 4th 07 11:21 PM
Password Protection - paste to unprotected cell locks the cell Jimbob Excel Discussion (Misc queries) 7 September 7th 07 06:22 PM
Cell Protection vs. Worksheet Protection kmwhitt Excel Discussion (Misc queries) 4 September 24th 06 02:37 AM
Cell Protection SusanM Excel Discussion (Misc queries) 1 November 23rd 05 09:25 PM


All times are GMT +1. The time now is 06:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"