1
1234
I have this simple macro:
Range("D3").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Select
ActiveCell.Offset(-1, 0).Select = d
rowC4= d
TextBox112.Value = ActiveCell.Offset(rowC4, 0)
TextBox112.Value = (TextBox112 + 1)
It selects cell D3 and then it goes down til it finds the first
number. It musn´t take zero and blank cells. Once it finds the first
number I want, it stops and shows the the cell value. The macro I have
does this OK, but when it finds a zero, it stops when it should jump
it and the same with blank cells. What am I doing wrong?
Thanks
Range("D3").Select
Selection.End(xlDown).Select
ActiveCell.Offset(1, 0).Select
ActiveCell.Offset(-1, 0).Select = d
rowC4= d
TextBox112.Value = ActiveCell.Offset(rowC4, 0)
TextBox112.Value = (TextBox112 + 1)
It selects cell D3 and then it goes down til it finds the first
number. It musn´t take zero and blank cells. Once it finds the first
number I want, it stops and shows the the cell value. The macro I have
does this OK, but when it finds a zero, it stops when it should jump
it and the same with blank cells. What am I doing wrong?
Thanks