Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
how to loop thru cell in 2 columns
How do I get the cell information From the E cels based on the F cells
Dim sht As Worksheet Dim cel As Range Dim j As Integer For Each sht In Worksheets For Each cel In sht.Range("E:E") If Cel= TotalHours.Projects.Text Then 'TotalHoursToDate.Text = TotalHoursToDate.Text + Range(Sheet1!Range("E" + j)) 'TotalHoursToDate.Text = 33 End If Next cel Next sht |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
how to loop thru cell in 2 columns
I think anyone here will need more information in order to help you out.
"DMB" wrote: How do I get the cell information From the E cels based on the F cells Dim sht As Worksheet Dim cel As Range Dim j As Integer For Each sht In Worksheets For Each cel In sht.Range("E:E") If Cel= TotalHours.Projects.Text Then 'TotalHoursToDate.Text = TotalHoursToDate.Text + Range(Sheet1!Range("E" + j)) 'TotalHoursToDate.Text = 33 End If Next cel Next sht |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
loop over columns | Excel Discussion (Misc queries) | |||
incrementing columns in a loop | Excel Programming | |||
How to select columns in loop | Excel Programming | |||
loop through columns | Excel Programming | |||
Loop 20 columns Help! | Excel Programming |