Hello,
I use lrow = Range("a" & Rows.Count).End(xlUp).Row quite often for the last row. Now I'm looking for the last column so I tried lcolumn = Range("6" & Columns.Count).End(xlLeft).Column but that does not work and I would love to know why.
My ultimate goal is to use the lcolumn variable to help my sort. I tried using activeworksheet.usedrange.columns.count, but that returned a number so I think that is why it did not work with Range("a6:" & lcolumn & "23").Select when selecting my sort range.
Thank you for any assistance!
Luke
Bookmarks