Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default Protection.... after reprotect resets to defaults?



Hi There

Im using "Sheets("Summary").Unprotect" and then
""Sheets("Summary").protect" at the start and end of a Macro. However
when I reprotect the sheet, the "qualities" specified (not in VB, just
by me manually selecting them) (see below) are not the same as before I
ran the Macro. Question is whats the VB to protect and unprotect a
workbook, but leaving the predefined qualities (see below) intact...?

Users can do anything except for :
1) Type over locked cells
2) Insert or delete rows or columns

Kind regards

Darin




*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Protection.... after reprotect resets to defaults?

If you use Excel 2002 or 2003 there are protect options when you use
ToolsProtection..Protect Sheet

Record a macro when you check the options you want and look at the code

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Darin Kramer" wrote in message ...


Hi There

Im using "Sheets("Summary").Unprotect" and then
""Sheets("Summary").protect" at the start and end of a Macro. However
when I reprotect the sheet, the "qualities" specified (not in VB, just
by me manually selecting them) (see below) are not the same as before I
ran the Macro. Question is whats the VB to protect and unprotect a
workbook, but leaving the predefined qualities (see below) intact...?

Users can do anything except for :
1) Type over locked cells
2) Insert or delete rows or columns

Kind regards

Darin




*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default Protection.... after reprotect resets to defaults?



Thanks Ron

*** Sent via Developersdex http://www.developersdex.com ***
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
Spell Check Protect Reprotect with same settings PatriciaT Excel Discussion (Misc queries) 1 January 9th 10 11:18 PM
Interval accumulation and resets Tom Excel Discussion (Misc queries) 1 December 17th 07 05:47 PM
Protect then reprotect using macro checkQ Excel Discussion (Misc queries) 2 October 13th 07 05:12 PM
Color Defaults, Package Resets & Downloads Jay Charts and Charting in Excel 1 September 27th 06 11:40 PM
ScreenUpdating automatically resets to True Bob Phillips[_5_] Excel Programming 3 August 29th 03 10:58 AM


All times are GMT +1. The time now is 03:54 AM.

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

About Us

"It's about Microsoft Excel"