- When LMS attempts to open an Excel section, it takes several minutes for Excel to open
- The section may or may not be a Smart Builder form
- If the section is a form, disabling the actions in the form configuration that occur at the time of form-opening does not significantly reduce the amount of time it takes to open the form
- NuGenesis 8 LMS
- NuGenesis 8 ELN
The Excel sections contain formatting on a lot of unnecessary cells. These cell settings increase the size of the section to several megabytes and slow down Excel when it reads the data. This can occur if the form designer made a mistake when applying formatting to a range of cells. Pressing Shift-Control-down selects all cells in the column—up to 1 million cells. If this is not noticed, the formatting would be applied to all of the cells.
FIX or WORKAROUND
- Open the Excel section and examine all of the sheets within the workbook for cells with unnecessary formatting.
- If the section is an Excel form, switch the form to Design mode and make visible all of the worksheets.
- Look for formatted cells at the "edges" of the worksheets—that is, in the last row and column of the worksheet.
- Removing the formatting with the "Clear Formatting" action does not work; the formatting will clear, but the data size will still be very large.
- If the worksheet is simple (that is, few configured ranges on the worksheet in Smart Builder, or few formulas/named ranges on the worksheet), the sheet could be deleted and replaced:
- Delete the worksheet or worksheets.
- Save the workbook to a new file on disk.
- Open a new Excel window from the Start menu or Start screen.
- Open the original section or Excel file in this window.
- Create a new worksheet in the workbook to replace the deleted sheet. Give it the same name as the original sheet.
- Copy only the necessary cells from the unmodified workbook into the new sheet.
- Range names do not copy over to the new sheet. Check the Name Manager in Excel for any range names on the sheet in the unmodified workbook and recreate those ranges in the new sheet.
- Save the workbook with the new worksheet to a file on disk.
- If the sheet is complex and recreating it is not possible following the instructions above, use the Inquire add-in for Excel to clean the workbook:
- Activate the add-in:
- Click the File menu > Options.
- Click Add-ins.
- Look for the "Inquire" add-in in the list.
- If it is in the inactive add-ins list:
- Select "Manage: COM Add-ins" and click the "Go" button.
- Put a check mark in the box for the Inquire add-in and click OK. A new tab, "Inquire", should appear in the ribbon.
- Use the add-in to clean the workbook:
- Select the worksheet with the excess formatting.
- Click the Inquire tab and click "Clean Excess Cell Formatting".
- Select "Apply to: Active Sheet" and click OK.
- Wait for the add-in to finish its work. This may require 15 minutes or more.
- Click Yes when prompted to save the changes.
- Activate the add-in: