Thread: Loop
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett[_2_] Don Guillett[_2_] is offline
external usenet poster
 
Posts: 1,522
Default Loop

Send your file to me at

On Jun 21, 7:19*am, kevcar40 wrote:
the number of rows can vary so i have put a rowcount
* * RowCount = Cells(Rows.Count, "L").End(xlUp).Row

here is what i am trying
for x = 1 to rowcount
* * ActiveCell.Offset(1, 0).Select
* * *Range("ab1").Value = ActiveCell.Value
* * *If Range("Ab1").Value = 1 Or Range("Ab1").Value = 2 Then

* * * * Here is where i not sure *

* * * End If
Next x