Can someone please explain how to read the below code to find last column and row with data?
Last_Column = Sheets("Combined").Cells.Find("", [a1], , , xlByColumns, xlPrevious).Column
Last_Row = Sheets("Combined").Cells.Find("", [a1], , , xlByRows, xlPrevious).Row
Thank you
To find the intersect of the last used column and row you should adapt your code to
"*"to match any wildcard not for""which is for blank cells (NB: with this change your code above will work in a limited sense (see 2-3 below) if you run it from thecombinedsheetNot NothingWhen using a starting cell ie
'[a1]you should specify the sheet name as well to esnure the code works if you are running it from different sheets, iews.[a1]below