Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Is sheet protected

Hi All,
1) How can i inquire if a sheet is protected?
2) How can i programmatically call the protect sheet dialog box?
Thanks in advance....

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Is sheet protected

1) MsgBox ActiveSheet.ProtectContents

also check ProtectScenarios and ProtectDrawingObjects

2) application.Dialogs(xlDialogProtectdocument).Show

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Lp12" wrote in message
...
Hi All,
1) How can i inquire if a sheet is protected?
2) How can i programmatically call the protect sheet dialog box?
Thanks in advance....



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
Ink on a Protected Sheet Fishman4 Excel Discussion (Misc queries) 1 January 20th 10 06:07 PM
Sheet Information - Is sheet protected? lbit Excel Discussion (Misc queries) 1 November 15th 07 08:06 PM
Protected sheet to unprotected sheet [email protected] Excel Worksheet Functions 2 October 26th 05 05:30 PM
protected sheet 91syncro Excel Discussion (Misc queries) 1 February 9th 05 06:16 PM
excel - macro code to open a protected sheet, enter passowrd, and then protect sheet arunjoshi[_5_] Excel Programming 1 May 2nd 04 03:50 PM


All times are GMT +1. The time now is 01:45 PM.

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"