R
Ray
Can anyone provide the syntax for counting the number of columns containing
data in an unknown range? The row.count syntax is:
lastrow = Worksheets(1).Cells(Rows.Count, 2).End(xlUp).Row
lastcolumn=???
I need to find the last column with data in a worksheet that could contain
any number of columns.
data in an unknown range? The row.count syntax is:
lastrow = Worksheets(1).Cells(Rows.Count, 2).End(xlUp).Row
lastcolumn=???
I need to find the last column with data in a worksheet that could contain
any number of columns.