Howdy all,
I have a worksheet with log data that was pushed from Access into Excel. I have a single Data/Time field and a few number fields. I'm trying to select the last record (to use in a range) using the formula below.
i = TargetSheet.Cells(Rows.Count, 1).End(xlUp).Rows
However, If I use any of the existing fields, the result is always zero. If I insert a new field and add some records to it, I get that field's last row as you'd expect.
What am I missing here?
Thanks,
Kev.
I have a worksheet with log data that was pushed from Access into Excel. I have a single Data/Time field and a few number fields. I'm trying to select the last record (to use in a range) using the formula below.
i = TargetSheet.Cells(Rows.Count, 1).End(xlUp).Rows
However, If I use any of the existing fields, the result is always zero. If I insert a new field and add some records to it, I get that field's last row as you'd expect.
What am I missing here?
Thanks,
Kev.