Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() This is a snippet of my code that allowed me to go through each cell in a column to check for certain criteria, that a certain checkbox was chosen and a certain value in a given range of a column was chosen. Dim Ct As Integer Ct = 0 If ckHome2 = True Then Range("d2").Select Do If IsEmpty(ActiveCell) = False Then ActiveCell.Offset(1, 0).Select End If If ActiveCell.Value = "Home" Then Ct = Ct + 1 txtHome2.Text = Ct End If Hope this helps some. Barb -- alonge ------------------------------------------------------------------------ alonge's Profile: http://www.excelforum.com/member.php...o&userid=27874 View this thread: http://www.excelforum.com/showthread...hreadid=475728 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Meeting 12 formatted conditions | Excel Discussion (Misc queries) | |||
sum a range meeting conditions of row & column | Excel Worksheet Functions | |||
using sumproduct on subtotals meeting certain conditions | Excel Worksheet Functions | |||
Meeting two conditions before summing | Excel Worksheet Functions | |||
Loop through data for conditions and create a new sheet | Excel Programming |