As described in the title.
This code does not work even if col D is specified as below. Cols A, B and C all have non-blank rows down to row 47.
MsgBox always keeps giving 47 as LastRow - the last used row in cols A, B and C. Not what I want. The value should be 10.
as image below shows
What am I not seeing? - this couldn't be simpler.
Please help if you can.
Thank as always,
cr
This code does not work even if col D is specified as below. Cols A, B and C all have non-blank rows down to row 47.
Code:
With Sheets("BIBLESTUDYALL")
lastRow = .Cells(.rows.count, "D").End(xlUp).Row
End With
MsgBox lastRow
as image below shows
What am I not seeing? - this couldn't be simpler.
Please help if you can.
Thank as always,
cr