Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Determining a worksheet's protection status in VBA


What would be the syntax for finding out protection status of

activeworkbook.sheets("MySheet")

in VBA ?



--
-regards
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Determining a worksheet's protection status in VBA

MsgBox ActiveWorkbook.Sheets("Sheet1").ProtectContents
--
HTH...

Jim Thomlinson


"GeorgeJ" wrote:


What would be the syntax for finding out protection status of

activeworkbook.sheets("MySheet")

in VBA ?



--
-regards

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default Determining a worksheet's protection status in VBA

Thanks Jim, that was just what I needed.


-regards
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
Worksheet Protection status JimB Excel Worksheet Functions 1 September 28th 06 11:02 PM
Worksheet protection status JimB Excel Discussion (Misc queries) 0 September 28th 06 10:03 PM
Display worksheet protection status in a cell? Geoff C Excel Worksheet Functions 2 February 1st 06 03:04 PM
Sheet Protection Status Andy Williams Excel Worksheet Functions 1 January 4th 06 04:22 PM
Cell to equal a worksheet's name David P. Excel Discussion (Misc queries) 3 June 11th 05 12:57 AM


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