Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default protect formula

is ther any formula that can sow "1" if the activesheet is protected
and "0" if not

rozent
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default protect formula

Rozent

=Cell("Protect")

will return 1 if the cell is locked and 0 if the cell is unlocked and the
worksheet protected

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"?????" wrote in message
...
is ther any formula that can sow "1" if the activesheet is protected
and "0" if not

rozent



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default protect formula

thank you but i need to know by any number
if the sheet is now protected (not the cell)
rozent

"Nick Hodge" wrote:

Rozent

=Cell("Protect")

will return 1 if the cell is locked and 0 if the cell is unlocked and the
worksheet protected

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"?????" wrote in message
...
is ther any formula that can sow "1" if the activesheet is protected
and "0" if not

rozent




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default protect formula

i am sorry but no. read carefully:
the sheet is usualy protected but the user can unprotect when he wants
i want that when he unprotect, sume celles will automaticaly changh colors
until he protect again.
a locked cell is not change its formula results when the protection is
removed.
the result is 1 or 0 depending of the locking deffinition but not changing
every
time when he protect or unprotect the sheet. if the result will be changhed
automaticaly also the colors will be changed (by conditional formatting)
rozent

"Nick Hodge" wrote:

A cell cannot be 'locked' without the sheet being protected, so this should
show you if the sheet is protected???

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"?????" wrote in message
...
thank you but i need to know by any number
if the sheet is now protected (not the cell)
rozent

"Nick Hodge" wrote:

Rozent

=Cell("Protect")

will return 1 if the cell is locked and 0 if the cell is unlocked and the
worksheet protected

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"?????" wrote in message
...
is ther any formula that can sow "1" if the activesheet is protected
and "0" if not

rozent






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
Protect individual cell and hide formula in formula bar Ashish Saxena Excel Worksheet Functions 1 April 24th 08 08:39 AM
Protect formula joen Excel Discussion (Misc queries) 2 June 25th 06 04:11 PM
Protect formula joen New Users to Excel 1 June 25th 06 09:34 AM
How do you protect the formula? Steverino New Users to Excel 1 January 26th 06 05:22 AM
Protect formula gav meredith Excel Programming 2 April 8th 04 07:31 AM


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