Thanks for your feedback Denis.
I can't say that I'm an expert on XLM4 but do occassionally execute functions within my VBA projects.
E.g:
Code:
ExecuteExcel4Macro("GET.DOCUMENT(10)")
This will return the number of the last used row, which I find easier than some of the other methods.
Code:
Cells(Rows.Count, 6).End(xlUp).Row
I see this method used quite often, but of course this will always consider the last row as per the last item in a list in column F.
Code:
Cells.Find (What:="*", After:=[A1], SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Whilst this method would return a more TRUE last row but is considerably longer than the XLM4 method.
Regards
Jon