Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 550
Default testing if a sheet is protected

mika,

worksheets("Main").protectcontents
Should return True or False

John

"mika." wrote:

How would you test if a worksheet is protected using VBA?

Thanks.


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
Testing to see if a sheet name exists anita Excel Programming 1 September 4th 03 10:14 PM


All times are GMT +1. The time now is 11:47 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"