A method and system for loading files into a spreadsheet application
program (SAP) operating on a computer system, using an escalating load
sequence. The SAP determines if a normal load mode failed while attempting
to load the files. In response to determining that the normal load mode
failed, the SAP escalates the load sequence to a safe load mode, where a
plurality of checks are performed and the files are repaired. The SAP also
determines if the safe load mode was successful in repairing and loading
the files. If the SAP determines that the safe load mode was unsuccessful,
the SAP escalates the load sequence to a data recovery mode, where the
spreadsheet application program attempts to extract formulas and values
from the file.