• Zendada, and Bitbucket - Thank you for the information.

    I used the following (as suggested) to fix the problem:

    Method 1: Manually delete excess rows and columns

    To reset the last cell by manually deleting excess rows and columns, follow these steps:

    1.Select all columns to the right of the last column that contains data by selecting the appropriate column headings.

    Tip One way to do this is to press F5 and type the appropriate reference. For example, type F:IV for columns, or type 5:65536 for rows.

    2.On the Edit menu, click Clear All.

    Note If this step does not clear all the excess formatting, you may have to right-click the columns and then click Delete to fully remove the cells. If you delete cells that are referenced by formulas, the reference changes to "#REF!." Therefore, we recommend that you create a backup of the original file and then check your formulas for "#REF!" after you follow these steps.

    3.Repeat steps 1 and 2 for the rows that are under the last row that contains data.

    4.Save the file.

    5.To continue working in the file, close and then reopen the file.

    It would be great if this approach could be automated though ...

    Thanks!