Forum Discussion

LonnieCurrier's avatar
LonnieCurrier
Copper Contributor
May 15, 2020
Solved

How can I reset the “LastCell” in Excel?

How can I reset the “LastCell” value in Excel?   I need a macro that selects the correct print area after deleting several rows and columns.   My original spreadsheet has 2000 rows and 26 columns...
  • Riny_van_Eekelen's avatar
    May 15, 2020

    LonnieCurrier  Did you save the workbook after deleting the empty rows and columns? Excel remembers the previous "Last cell" until you do so.

Resources