Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BR
 
Posts: n/a
Default I need to protect cells that contain formulas but on a huge scale.

In Excel, I need to protect cells that contain formulas but for thousands of
files and sheets. The real trick is being able to go back into these files
and allow macros to operate properly while under protection. Any suggestions?
Thanks
  #2   Report Post  
dominicb
 
Posts: n/a
Default


Good evening BR

You can use a piece of code at the start of your module that will allow
macros to run without problem on protected sheets :

ActiveSheet.Protect UserInterfaceOnly:=True

This will allow your macro to make changes to your sheet with the
protection still in place. This will not automatically take effect
every time the workbook is opened, so you would have to tie it to an
event procedure to run it every time the file is used.

HTH

DominicB


--
dominicb
------------------------------------------------------------------------
dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=471251

Reply
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
formula's in cells are not calculating peto Excel Worksheet Functions 2 September 8th 05 04:33 AM
pasting or moving formula cells without updating formulas jake Excel Discussion (Misc queries) 2 April 14th 05 01:02 PM
How do I protect specific cells (like labels and formulas) on a w. Evelyne Excel Discussion (Misc queries) 2 April 1st 05 02:35 AM
Min Formulas in #VALUE! Cells Tip Rabbit Rabbit Excel Worksheet Functions 1 March 24th 05 04:47 PM
formulas against columns not cells Gary Excel Worksheet Functions 1 December 20th 04 06:04 PM


All times are GMT +1. The time now is 04:12 PM.

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"