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

If I use the following formula to cout the Es in a rang
=COUNTIF(E15:E26,"E") I can use conditionsl formatting to advise peopl
making entries into that range if there not enough or too many.

is it possible to write some vb code that defaults the value of th
active cell to 0 if value of the countif function is

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Conditional protection

Private Sub Worksheet_SelectionChange(ByVal Target As
Excel.Range)
If range("wherever the countif formula is").Value 3 Then
ActiveCell.Value = 0
End If
End Sub

-----Original Message-----
If I use the following formula to cout the Es in a range
=COUNTIF(E15:E26,"E") I can use conditionsl formatting to

advise people
making entries into that range if there not enough or too

many.

is it possible to write some vb code that defaults the

value of the
active cell to 0 if value of the countif function is 3


---
Message posted from http://www.ExcelForum.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
Conditional Protection [email protected] Excel Discussion (Misc queries) 1 March 5th 09 05:47 PM
Conditional Protection question [email protected] Excel Worksheet Functions 1 March 5th 09 04:56 PM
Is Conditional Protection Possible in 2003? Les Linton Excel Discussion (Misc queries) 2 September 26th 07 02:24 PM
Conditional Cell protection Bultgren Excel Discussion (Misc queries) 0 November 8th 05 11:50 AM
Conditional Protection of Cells Jack_Feeman Excel Worksheet Functions 0 November 4th 05 08:21 PM


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

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

About Us

"It's about Microsoft Excel"