Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
I need to step through each cell of a particular column, check the contents to the previous cell, and then preform an action based on the outcome. Below is my code. Please help if you can Thanks, Jo With Worksheets("Source Data" For i = 2 To .Range("e").Rows.Coun If .Range("E" + i) < .Range("E" + (i - 1)) The Range("e" + i).Selec Selection.Cop Worksheets("Gap").Range("b11").End(xlDown).Offset( 1, 0).Selec Selection.PasteSpecial Paste:=xlPasteValue .....etc End I Next i |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stepping in to a cell | Excel Discussion (Misc queries) | |||
Stepping through Code | Excel Discussion (Misc queries) | |||
stepping chart | Charts and Charting in Excel | |||
Stepping Through vs. Play | Excel Discussion (Misc queries) | |||
Stepping thru Cell References | Excel Programming |