Solved Microsoft Excel File Error The document cannot be saved | Stellar

Solved Microsoft Excel File Error The document cannot be saved | Stellar

Ian Lv13

Solved - The File is Corrupted and Cannot be Opened - Excel

Summary: Unable to open Excel file due to the error ‘The file is corrupted and cannot be opened’? Read this blog to find more details about the error, possible reasons behind it, and solutions to fix the error. In addition, the blog mentions about Stellar Repair for Excel software that can help fix the Excel error in a few clicks. Download the software now and see free preview of the file.

Free Download for Windows

About the Error

Microsoft Excel is a widely used spreadsheet application that comes bundled with MS Office. Users tend to update the application with new security patches and features. Sometimes these updates can cause problems, and result in “The file is corrupted and cannot be opened” error.

The File is Corrupt and Cannot be Opened Error Message

Figure 1 – Excel File Corrupted Error Message

Other Possible Reasons behind ‘The File is Corrupt and Cannot Be Opened’ Excel Error

  • Opening an older Excel version file in a newer version of Excel. For instance, opening Excel 2013, 2010, or earlier versions in Excel 2016.
  • When attempting to open a Microsoft Office (Excel) email attachment in Microsoft Outlook 2010, MS Office 2010 reports a problem with the file preventing it from opening.

How to Fix the ‘Excel File is Corrupt and Cannot Be Opened’ Error?

Here are a few possible solutions that you can try to fix the ‘Excel file is corrupt and cannot be opened’ issue and open your Excel file.

Solution 1: Changing Component Services Settings

Solution 2: Changing the Protected View Settings

Solution 3: Repair Excel Files using Excel Repair Software

Solution 1: Changing Component Services Settings

[Caution] Changing Component Services settings requires making changes to the registry, and any mistake can harm your computer.

Follow these steps to change ‘Component Services’ settings:

  • Click ‘Start’ or ‘Win+R’ and type ‘dcomcnfg’ and press ‘Enter’.

  • In the navigation pane, expand the ‘Component Services’, and then expand ‘Computers’.


Changing Component Services Settings

Figure 2 – Component Services Settings

  • Next, right-click on ‘My Computer’, and then click ‘Properties’.

When the ‘My Computer Properties’ dialog box appears, click on the ‘Default Properties’ tab and then set the following values:

  • Default Authentication Level: Connect
  • Default Impersonation Level: Identify

My Computer Properties

Figure 3 – Illustrates My Computer Properties

  • Click ‘OK’ to change ‘Default Properties

Solution 2: Changing the Protected View Settings

[Caution] Disabling the ‘Protected View’ can put your system at high risk. Viruses attached to the Excel files can attack and infect your system. Be careful before using this option.

Excel 2010 file cannot open due to the ‘Protected View’ setting in Microsoft Outlook 2010. And so, changing the setting may help fix the error. For this, perform these steps:

  • Open MS Excel 2010, go to the ‘File’ menu and click ‘Options’.

Select Options in Excel 2010

Figure 4 – Options

  • When the ‘Excel Options’ window opens, click on ‘Trust Center’ and then on ‘Trust Center Settings’.

Trust center settings in Excel

Figure 5 – Open Trust Center Settings

  • Next, choose ‘Protected View’ and uncheck all the options including ‘Enable Protected View for Outlook attachments’ if you use Outlook for email.

change protected view settings

Figure 6 – Uncheck Protected View Settings

  • Click ‘OK’. Restart the application and try opening the Excel file again.

If none of the above solutions works for you, your Excel file is likely severely corrupt. To repair corrupt Excel files, you need to use advanced options like Stellar Repair for Excel tool. It repairs corrupt and damaged Excel files and helps in retrieving lost data.

Solution 3: Use Excel File Repair Tool

Considering the risks associated with the above solutions, it’s better to use an Excel repair tool to repair single or multiple corrupt Excel files at once. The process is simple, and even a novice can use the Excel file repair tool to repair Excel files with the help of the following steps:

  • Download Stellar Repair for Excel and install it.

Free Download for Windows

  • Launch the tool. In the tool’s main interface, click ‘Browse’ to select the file. If you don’t know the file location use the ‘Search’ option.

Browse and Search

Figure 7 – Illustrates Selecting Corrupt Excel File in Stellar Repair for Excel

  • Select the file, and then click on Repair.

select corrupt file and repair

Figure 8 – Illustrates Initiating Excel File Repair in Stellar Repair for Excel

  • The software scans and lists the Excel file in the left pane. Click on the file to preview its recoverable objects in the right pane.

preview recoverable excel objects

Figure 9 – Illustrates Preview of Recoverable Excel File Objects

  • Save the repaired file at either the default location or a user-specified location.

select repaired file location

Figure 10 – Illustrates Saving Repaired Excel File in Stellar Repair for Excel

  • Click ‘OK’ to save the repaired Excel file. After the repair process is completed, browse to the location and open it with MS Excel 2010 or any other version.

repaired file saved Dialog Box

Figure 11 – Illustrates Saving Complete Message in Stellar Repair for Excel

You will be able to access your Excel file from the selected location.

Conclusion

You can use the first two possible solutions to fix the “The file is corrupted and cannot be opened” error. If you can access the file, save its data and restore the default settings. However, if the file is corrupt and the data retrieved using the first two solutions is inconsistent or incomplete, use Stellar Repair for Excel. This tool can help you recover Tables, Charts, Chart Sheets, cell comments, Images, and Formulas while preserving the worksheet properties and cell formatting. You can also preview the file and verify the data inside the file before saving it.

How to Fix “Errors were detected while saving Excel” Error?

When trying to save the Excel file, you might face unexpected errors. The “Errors were detected while saving Excel” is one such error. It can also occur when using VBA in Excel. The complete error message appears as:

**“Errors were detected while saving [file name]. Microsoft Excel may be able to save the file by removing or repairing some features. To make the repairs in a new file, click Continue. To cancel saving the file, click Cancel.”
**

The error can occur if the features (Pivot tables, charts, macros) used in the Excel file get corrupted . However, there could be several other reasons behind the occurrence of the error. Let’s discuss them.

What Causes the “Errors were detected while saving Excel” Error?

There are various reasons why you encounter this error. Here are some of them:

  • Incompatible pivot table in the Excel file
  • Large or uncompressed images in the Excel file
  • File-sharing properties are not allowing file saving
  • Excel file is corrupted
  • Large-sized Excel file
  • File version incompatibility
  • VBA code is corrupted

Ways to Fix the “Errors were detected while saving Excel” Error

You’re not able to save the Excel file if there is no storage space on your hard drive. So, first check if your hard drive has sufficient storage space to save the file. If this is not the case, then it might happen that your antivirus program is interrupting the saving process. To check this, temporarily disable your antivirus program and then try to save the file. If still your Excel is throwing the “Errors were detected while saving Excel” error, then follow the below given methods to fix the error:

Method 1: Open the Excel in Safe Mode and Disable the Add-ins

When you open Excel in safe mode, it opens without the third-party add-ins. This helps in finding out if any add-ins are causing the error.

 Here’s how to open the Excel in safe mode:

  • Open the Run window by pressing Windows key + R.

  • Type excel /safe in the Run window.

    Excel Save Mode Command?

  • Next, click on OK.

  • It will open Excel in safe mode.

  • Now, try to open and save the affected file.

If you are able to save the file without any issue, then this means that the error has occurred due to third-party add-ins or settings. You can try disabling the add-ins to fix the issue. To do this, follow these steps:

  • First, open Excel.
  • Then, go to the File tab and click Options.

Go To Options Window

  • In Excel Options, click on the Add-ins

Select Add-ins

  • Under the Manage section, select Excel Add-ins and then click on the Go

Excel Add-ins Drop-down

  • In the Add-ins dialog box, unselect the add-ins under the Add-ins available option and click OK.

    Add-ins Window

Note: Disabling add-ins does not remove them from the system. To remove them permanently, you need to uninstall them.

Method 2: Check the Excel File Name

Some users have observed this error when saving the Excel file with an invalid name. You can check the file name and ensure that it should not contain more than 218 characters. If the name exceeds the required limit, then try shortening the file name or move the file to a folder with a short path name.

Method 3: Copy the Data from the Affected File to a New File

If you are not able to save the Excel document, then try copying the data from the affected file to a new Excel file. Then, save the new file with a different name. This helps in resolving the issue.

Method 4: Check and Provide File Permissions

You may experience the “Errors were detected while saving Excel” issue when you do not have desired permissions to modify the folder in which your Excel file is located. To modify the folder, you should have read, write, and create permissions. You can check and provide the desired permissions using the below steps:

  • Navigate to the Windows Program Files and then find the desired folder (where the Excel file is saved).
  • Right-click on the folder and then choose Properties.
  • Select the Security tab and then click
  • Click on Change Permissions in the Advanced Settings
  • Click Administrators and then click Edit.
  • Now set the Apply to drop-down button to This Folder, Subfolder, and Files.
  • Click on the Full Control field and then click Apply > OK.

Method 5: Check Pivot Tables in Excel Sheet

You can review Pivot tables to see if they are causing the “Errors were detected while saving Excel” error. To do so, follow the below steps:

  • Click Power Pivot > Manage.

    Check Pivot Table In Excel

  • Check the tabs in the Power Pivot

  • Check if all the formulas used in the table are correct. Sometimes, even a small typo can create an issue in Excel.

Method 6: Repair Your Excel File

The “Errors were detected while saving Excel” issue can also occur if the Excel file is corrupted. In such a case, you can take the help of the built-in utility in Excel – Open and Repair to repair your Excel file. Here’s how to use the tool:

  • In Excel, click the File tab and then click Open.
  • Click Browse to select the desired file.
  • The Open dialog box is displayed. Click on the corrupted file.
  • Click on the arrow next to the Open button and then click Open and Repair.
  • Click on the Repair

Click On Repair Button

  • After repair, a message will appear (as shown in the below figure).

    Message Appear After Repair

  • Click Close.

 However, sometimes, the Open and Repair utility fails to fix the file if it is severely corrupted or large-sized. In such a case, you can take the help of a third-party Excel repair software, such as Stellar Repair for Excel. The tool performs a comprehensive scan of the corrupted Excel file to fix the issues and recover all the items from the file without changing the original formatting. It can recover pivot tables, charts, images, engineering formulas, etc. The tool is compatible with Windows 11/10/8.1/8/7. You can download the free trial version of the tool to evaluate its functionality.

https://techidaily.com

Closure

Many Excel users reported facing the situation when they are saving the Excel file. You can check the file’s compatibility to fix the “Errors were detected while saving Excel” issue. If you are getting this error in a Macro-enabled file then you can try deleting the VBA project from a document to resolve the issue. However, deleting the entire VBA code cannot be a better solution as it can lead a data loss in the Project you are working on. In the above article, you have learned the reasons behind the issue and discovered how to fix the error. Follow the methods and if none of them works then try using Stellar Repair for Excel. It is an advanced tool that can quickly repair corruption in Excel worksheets at any level. It lets you restore the corrupted components from the corrupted file without removing the existing data.

Top 5 Ways to Fix Excel File Not Opening Error

Summary: MS Excel users sometimes face issues while using the MS Excel application. One such issue is the Excel file not opening error. In this post, we’ve mentioned the reasons that may result in this error and the ways to resolve it. Also, you’ll find about an Excel repair software that can help you repair corrupt Excel files.

Free Download for Windows

Several Microsoft Excel users have reported encountering the ‘Excel file not opening’ error when opening their Excel file. There are several reasons that may cause this error. In this post, we’ll be discussing the reasons that may lead to the ‘Excel file not opening’ error and the top 5 ways to fix this error.

Why Does the ‘Excel File Not Opening’ Error Appear?

Following are some possible causes that may result in the ‘Excel file not opening’ error:

  1. There may be a problem with an add-in that is preventing you from opening the Excel files.
  2. There’s a chance that your Excel application is faulty.
  3. Your Excel program is unable to communicate with other programs or the operating system.
  4. The file association might have been broken. This is a common problem faced by users who have upgraded their Excel application or operating system.
  5. The file you’re trying to open is corrupted.

5 Ways to Fix Excel File Not Opening Error

Let’s explore the ways to resolve the Excel file not opening error:

1. Uncheck the Ignore DDE Checkbox

Dynamic Data Exchange (DDE)allows Excel to communicate with other programs. The Excel error may occur due to incorrect DDE settings. You need to ensure that the correct DDE configuration is enabled. Follow the steps provided below:

  • Launch your MS Excel file.
  • Go to File > Options.

options menu

  • Now click on Advanced.

Advanced options

  • Further, find the General option on the screen.

General Option uncheck Dynamic Data Exchange Option

  • Uncheck the option **‘Ignore other applications that use Dynamic Data Exchange (DDE)**’.
  • Click OK to save the changes.

2. Reset Excel File Associations

When you launch your Excel file, the file association ensures that the Excel application is used to open the file. You can try to reset these associations and see if Excel opens after this. Proceed with the following steps to do so:

  • Navigate to Start Menu and launch Control Panel.
  • Now, navigate to Programs > Default Programs > Set Your Default Programs.

Set-Your Default Programs

  • A new window will open. Herein, find the Excel program in the list and select it. Now, select the option ‘Choose defaults for this program’. Click OK.

Set Defaults

  • A new window for ‘Set Program Associations’ will open.
  • Check the box against the ‘Select All’ option.
  • Further, click Save to reset the Excel File Associations settings.

Set Program Associations

https://techidaily.com

3. Disable Add-Ins

Many people install third-party add-ins to enhance the application’s functionality. Sometimes, these add-ins can create an issue. Follow the below-mentioned steps to disable the problem creating add-ins:

  • Launch MS Excel application.
  • Navigate to File > Options > Add-ins.

Click on Add ins Option

  • In the window that opens, go to the Manage option at the bottom.
  • Herein, select the COM Add-ins option from the dropdown list. Click Go.

Select Com Addins

  • In the COM Add-ins window, uncheck all the boxes to disable the add-ins. Click OK.

Diasble Com Add ins Checkbox

4. Repair MS Office Program

Sometimes the issue is not with your Excel file. Instead, the reason for the error can be a corrupt MS Office application. You can repair the program to fix the Excel file not opening error. Here are the steps:

  • Press the Windows + R keys to launch the ‘Run’ dialog box.

Run Dialog box

  • Enter the text ‘appwiz.cpl’ to launch the program and features window.

appwiz.cpl in the run field

  • Find the MS Office program in the list of applications.

locate Microsoft Office in the list

  • Right-click on it and select Change.

Right Click and Select Change

  • In the new window, select the Quick Repair radio button. Click Repair.

Quick Repair Option

  • Follow the on-screen instructions to repair the Office application. Once the repair process is completed, you can try opening the Excel file to see if the problem is resolved.

5. Disable Hardware Graphics Acceleration

The hardware graphics acceleration assists in the system’s better performance, especially when you use MS Office applications, like MS Excel or Word. Sometimes, this causes the Excel file not opening issue. You can disable this option to try to resolve the issue. Here are the steps:

  • Launch your MS Excel application.
  • Navigate to File > Options > Advanced.
  • Herein, go to the Display option.
  • Uncheck the Disable hardware graphics acceleration checkbox. Click OK.

Uncheck Disable Hardware Acceleration

What If These Solutions Do Not Work?

If you have applied all the methods mentioned above and still cannot open your Excel file, there are chances that your file is corrupted. You can use a specialized Excel repair tool , such as Stellar Repair for Excel to repair the corrupted Excel file. This software has powerful algorithms that can scan and repair even severely corrupt Excel files, without any file size limitation. After repairing the file, it restores all the data, including tables, charts, rules, etc. to a new Excel, with 100% integrity.

To know how the software works, see the video below:

Free Download for Windows

Conclusion

Before you proceed with resolving the Excel file not opening error, try to find out the root cause of this error. If you know the real reason, you can try the method right away. If the reason for the error is corruption in the Excel file, the best option is to repair the file using a professional Excel repair tool, such as Stellar Repair for Excel .

https://techidaily.com

Data Disappears in Excel - How to get it back

Summary: You may face the issue of ‘Excel spreadsheet data disappeared’ after changing Excel file properties and formatting rows and columns. This blog discusses the possible reasons for data disappearance and the solutions to fix the issue. Also, it mentions an Excel file repair tool to retrieve the data from the file. Sometimes, while editing or formatting a cell in an Excel spreadsheet, the data may go missing or disappear. Let’s discuss in detail the reasons that may cause the ‘Excel data disappeared’ issue along with the solutions.

Free Download for Windows

Probable Reasons for Data Disappearing in MS Excel and Solutions Thereof

Reason 1 – Unsaved Data

While entering data in an Excel spreadsheet, it is important to save the data at frequent intervals. Doing so prevents any unsaved data from disappearing if you lose power or accidentally click ‘No’ when prompted to save the file. Unfortunately, such a situation is quite common as users often close the file without saving the recently made changes to a spreadsheet.

Solution – Use the ‘AutoSave’ Feature

With the AutoSave feature enabled in Excel, data won’t be lost in the event of power failure or abruptly closing the Excel program. By default, Excel automatically saves the information in a spreadsheet after every 10 minutes. You can reduce the limit to a few seconds to reduce the chances of Excel file data lost after being saved.

Change excel autosave internal

Reason 2 – Changing Excel Format

You can save an Excel file in various formats, like spreadsheet, text, webpage, and more. However, at times, saving the spreadsheet in a different format may lead to missing data. For example, when you save a workbook to a text file format, all formulas and calculations applied to the data will be lost.

Solution – Adjust a Spreadsheet for the Changed Format

If you’re changing the format of a spreadsheet, make space for the rows and columns. Also, remove all calculations before saving the file.

Note: If the sheet is shared on multiple computers, then save the file in compatibility mode.

Reason 3 – Merging Cells

You can combine two or more cells data to make one large cell. This technique is primarily used to fit the text of a title in a sheet. If there is data in two or more cells, then only the data in the top-left cell is displayed and the data in all other cells is deleted. If the other merged cells have been populated with data after merging, the data is not featured and it does not appear even after remerging the cells.

Solution – Merge Cells inside One Column

To merge cells without data loss, combine all the cells you want to merge within a column and do the following:

  • Select the cells to be combined.
  • Ensure that column width is wide enough to fit the contents of a cell.
  • In the spreadsheet, under the Editing group, click ‘Fill,’ and then click ‘Justify.’

excel-fill-option

  • Under Alignment, click on the ‘Merge & Center’ option to center align the text. Or, click on ‘Merge Cells’.

Note: This solution works for text only. You cannot use it to merge formulas or any numerical values. If you need to combine two or more cells with formula into a single cell, try using the Excel CONCAT function .

Reason 4 – Cell Formatting

Cells and text in the cells can be displayed in different colors to make the spreadsheet simple to create and infer. You may experience data loss when you try to modify the data or change the color or size of the data. Though the information may exist, the data may show an error due to the following reasons:  

  • White-colored text will not show in a white-colored cell
  • Large font-sized data may not appear in small-sized cell
  • Calculations may show (#VALUE) error after cell-formatting

Solution – Check and Clear Formatting

Make sure to use dark-colored text on a white-colored cell. Also, resize the cell to fit the text size. Check if numbers in a cell are entered as text. If so, you need to apply a number format to the text-formatted numbers. Read more about it, from here .

What Else You Can Do to Resolve the ‘Excel Data Disappeared’ Issue?

If you can’t recover the missing Excel file data, try to repair or extract the data from the file using the built-in Excel repair tool. Follow the below steps to use the tool:

  • Open MS Excel, click File > Open > Computer > Browse.
  • On the ‘Open’ window, select the file you want to repair and then click on the Open dropdown.
  • Select Open and Repair.

Open and repair

Use the ‘Repair’ option to repair the file and recover as much data as you can from the repaired file. If this doesn’t work, use the ‘Extract’ option to recover the data.

If you fail to retrieve the disappeared data from that file using the above-listed steps, opt for an Excel repair tool , like Stellar Repair for Excel. This software has a proven track record of repairing corrupt or damaged Excel files and recover all the data.

Free Download for Windows

The software helps:

  • Fix all corruption errors. It helps in getting back the data which has disappeared.
  • Repair a single as well as multiple Excel files.
  • Recover all components of XLS/XLSX files – tables, chart sheet, cell comment, image and more.
  • Preserve the worksheet properties and cell formatting.
  • Support the latest Excel 2019 and earlier versions.

The Excel repair software repairs the Excel file in these simple steps:

  • Launch and open the software.
  • Select the corrupt Excel file by using the ‘Browse’ option. If the file location is not available, then find the Excel file using the ‘Search’ option.

Browse and Search

  • Click ‘Repair’ to scan the corrupt file.

Scan corrupt file

  • Once the repair process is complete, verify the components of Excel file and check if the available preview shows complete data that disappeared from Excel.

Disappeared from excel

  • Save file at default location or preferred location.

Default location

The Excel file with all the restored data will be saved at the selected location.

Conclusion

It is better to repair the affected Excel file than suffer the loss when data or text disappears in Excel. A professional software ensures that users get back all the data in the form of a new Excel file. Stellar Repair for Excel software repairs the corrupt file without modifying the original content and file format. The software’s easy-to-use user interface lets you perform the functions without formal software training and technical expertise.

How to Fix Excel Run Time Error 1004

Summary: Run-time errors are windows-specific issues that occur while the program is running. This blog will teach you how to fix Excel run-time error 1004. In addition, you’ll learn about an Excel repair tool that can help fix the error 1004 if it occurs due to corruption in Excel files.

Free Download for Windows

VBA (Microsoft Visual Basic for Application) is an internal programming language in Microsoft Excel. Sometimes, when users try to run VBA or generate a Macro in Excel, the Run-time error 1004 may occur. This error may occur due to the presence of more legend entries in the chart, file conflict, incorrect Macro name, and corrupt Excel files. In this blog, we have discussed the reasons and shared some solutions to resolve run-time error 1004.

Why This Error Occurs?

The run time error 1004 usually occurs when you run a VBA macro with the Legend Entries method to modify the legend entries in the MS Excel chart. It happens when the chart contains more legend entries than the available space, macro name conflicts, corrupt Excel files, or data-types mismatch in the VBA code.

Ways to Fix Excel Run-Time Error 1004?

Try the below workarounds to fix Excel run-time error 1004:

Create a Macro to Reduce Chart Legend Font Size

Sometimes, Excel throws the run-time error when you try to run VBA macro to change the legend entries in a Microsoft Excel chart. This error usually occurs when Microsoft Excel truncates the legend entries because of the more legend entries and less space availability. To fix this, try to create a macro that shrinks/minimize the font size of the Excel chart legend text before the VBA macro, and then restore the font size of the chart legend. Here is the macro code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
VBCopy
Sub ResizeLegendEntries()

With Worksheets("Sheet1").ChartObjects(1).Activate
' Store the current font size
fntSZ = ActiveChart.Legend.Font.Size

'Temporarily change the font size.
ActiveChart.Legend.Font.Size = 2

'Place your LegendEntries macro code here to make
'the changes that you want to the chart legend.

' Restore the font size.
ActiveChart.Legend.Font.Size = fntSZ
End With

End Sub
Note: Make sure you have an Excel chart to run the code on the worksheet.

Uninstall Microsoft Work

You may encounter a run-time error 1004 in Excel version 2009 or older versions due to conflicts between Microsoft works and Microsoft Excel. This error usually occurs if your system has both Microsoft Office and Microsoft Works. Uninstalling one of them will fix the issue. Try the below steps to uninstall Microsoft Work:

  • First, open the Task Manager using the shortcut CTRL + ALT + DEL altogether
  • The Task Manager window is displayed.

Task Manager Window

  • Click the Process tab, right-click on each program you want to close, and then click End Task.
  • Stop all the running programs.
  • Open the Run window and type appwiz.cpl to open the Programs and Feature window.

Program and Features of Control Panel

  • Search for Microsoft Works and click Uninstall.

Try Deleting GWXL97.Xla File

The Add-ins files with .xla extension in MS-EXCEL is used to provide additional functionality to Excel spreadsheets. Sometimes, deleting the GWXL97.XLA file fixes the run-time error. Here are the steps to delete this file:

  • Make sure you have an Admins rights, open the Windows Explorer
  • Follow the Path C:\Programs Files\MSOffice\Office\XLSTART.
  • Find and right-click on the GWXL97.XLA file
  • Click Delete.

Change Trust Center Settings

Sometimes, run-time errors might arise because of incorrect security settings. The Trust Center settings help you find the Privacy and security settings for Microsoft Excel. Follow the below steps to change the Trust center settings:

  • Open Microsoft Excel.
  • Go to File > Options.
  • The Excel options window is displayed.
  • Choose Trust Center, and click Trust Center Settings.
  • Tap on the Macro Settings tab, and select Trust access to the VBA project object model.

Macro Settings in Microsoft Excel

https://techidaily.com
  • Click OK.

Run Open and Repair Tool

The Runtime error also arises when MS Excel detects a corrupted worksheet. It automatically begins the File recovery mode and starts repairing it. However, if the Recovery mode fails to start, use the Open and Repair tool with the below steps:

  • Click File > Open.
  • Click the location and folder with a corrupted workbook.
  • In the Open dialog box, choose the corrupted workbook.
  • Click the arrow next to the Open tab, and go to the Open and Repair tab.
  • Click Repair.

You can also opt for Stellar Repair for Excel if the Microsoft Excel’s built-in tool cannot fix the error.

Use Stellar Repair for Excel

Stellar Repair for Excel is a professional software for repairing damage. xls, .xlsx, .xltm, .xltx, and .xlsm files and recovering all its objects. Here are the steps to fix the error using this tool:

  • First, download, install, and run Stellar Repair for Excel.
  • Click the Browse tab on the interface window to choose the corrupted Excel file you need to repair.
  • Click Scan. You will see the scan progress in the scanning window.
  • Click OK.
  • The tool can let you preview all the recoverable Excel file components including tables, pivot tables, charts, formulas, etc.
  • Click Save to save the repaired file.
  • Save File dialog box will appear with the below two options:
  • Default location
  • New location
  • Choose a suitable option.
  • Click the Save option to repair the Excel file that you have chosen.
  • Once the repair is complete, it will display a message “File repaired successfully.”
  • Click OK.

Conclusion

Now you know the Excel run-time error 1004, its cause, and solutions. Follow the workarounds discussed in the blog to rectify the error quickly. However, Stellar Repair for Excel makes your task of removing run-time errors easy. It’s a powerful software to fix all the issues with Excel files. Also, it helps in extracting data from the damaged file and saves it to a new Excel workbook.

Excel Repair Tool to Repair Corrupt Excel files (.XLS/.XLSX)

When to Use Stellar Excel File Repair Tool?

Unable to Open an Excel File Due to Invalid Extension?

Unable-to-Open-an-Excel-File-Due-to-Invalid-Extension

https://techidaily.com

You may face an error - “Excel cannot open the file .xlsx” in Excel 2021, 2019, 2016, etc., leading to data loss. This error occurs when you try to open corrupt Excel file or an invalid file format. Using the correct extension can resolve the issue, if there is no corruption. However, you need an Excel repair tool if the file is corrupt. Stellar Repair for Excel can repair the corrupt file and recover all objects in intact form.

Learn More arrow

Excel File Not Opening Due to Corruption?

Is-MDF-File-Header-Corrupted

You cannot open an Excel file if it is corrupted. For example, opening an Excel file created in a lower version like Excel 2007 in Excel 2010 or later version can throw a corruption error message. Or, the file may open in a ‘protected view,’ not allowing any write operations. The Excel repair tool from Stellar provides a comprehensive solution to fix corrupt Excel files across all versions, including Excel 2021, 2019, 2016, 2013, and older.

Learn More arrow

https://techidaily.com

Excel Found Unreadable Content?

Excel-Found-Unreadable-Content

You may encounter an error message – “Excel found unreadable content in filename.xls”, with a message to recover the contents of the workbook. Clicking ‘Yes’ to recover the contents may lead to loss of formatting, replacement of formulas, and inconsistencies. Stellar Phoenix Excel Repair software now Stellar Repair for Excel can scan the workbook and recover its contents.

Learn More arrow

KEY FEATURES FOR REPAIR FOR EXCEL

Software Important Capabilities

Repair Large-sized Excel Files

Repair Large-sized Excel Files

Stellar Repair for Excel software previously known as Stellar Phoenix Excel Repair can repair & fix corrupt Excel files of any size. It removes corruption from individual objects, fixes the damage, and restores the Excel file back to its original state. The Excel repair tool can repair multiple Excel files in a batch.
Learn More

Resolves All Excel Corruption Errors

Resolves All Excel Corruption Errors

This Excel file repair tool fixes all types of Excel corruption errors, such as unrecognizable format, Excel found unreadable content in name.xls, Excel cannot open the file filename.xlsx, file name is not valid, the Excel file is corrupt and cannot be opened, etc. It provides a comprehensive solution for fixing Excel file issues.
Learn More

Preview the Repaired Excel File

Preview the Repaired Excel File

The software shows a preview of the repaired Excel file and its recoverable contents in the main interface. This functionality allows you to verify the data in your repaired Excel file, including all of its objects, before saving the file. The Excel File Recovery software helps in determining the final state of data you will receive after repairing the corrupted Excel file.
Learn More

Recovers All Excel file Objects

Recovers All Excel file Objects

The software repairs the corrupt Excel file and recovers all objects, including tables, charts, series trendline, conditional formatting rules, and properties of the worksheet. The software also recovers embedded functions, group & subtotal, engineering formulas, numbers, texts, rules, etc. It recovers Excel file data in its intact form.

Reviews & Feedback

Recommendation by Microsoft MVPs

OTHER IMPORTANT FEATURES

Know your Product Better

Option to Find Excel Files

Option to Find Excel Files

Stellar Excel repair software helps users unaware of the Excel file location to search for all the Excel files on the computer. It provides ‘Find’ option to quickly locate and list all the Excel files for repair. You can select single or multiple files from the list that you want to repair.

Stellar Toolkit for File Repair

https://techidaily.com

Stellar Toolkit for File Repair

Stellar Toolkit for File Repair provides essential tools to repair corrupt Office files via a single interface. It comprises tools like MS Excel Repair, MS Word Repair, MS PowerPoint Repair, and PDF Repair to fix corrupt documents while maintaining the original file format.
Learn More

HOW TO USE STELLAR REPAIR FOR EXCEL

https://techidaily.com

Screenshots & Video

PRICING

Choose The Best Plan

Excel Repair

Repairs corrupted Excel files with 100% integrity.

  • Repairs XLS, XLSX, XLTM, XLTX, and XLSM files
  • Repairs multiple Excel files
  • Previews the repaired file
  • Supports Excel 2021 & older versions

File Repair Toolkit

Repairs corrupted Excel, Word, PowerPoint, & PDF files.

  • Repairs XLS, XLSX, XLTM, XLTX, and XLSM files
  • Repairs multiple files
  • Previews the repaired file
  • Supports Excel 2021 & older versions
  • Repairs .DOC & .DOCX files
  • Repairs .PPT, .PPTX, & .PPTM files
  • Repairs corrupted PDF file

Best Seller

File Repair Toolkit Technician

Repairs corrupted Excel, Word, PowerPoint, & PDF files up to 3 systems.

  • Repairs XLS, XLSX, XLTM, XLTX, and XLSM files
  • Repairs multiple files
  • Previews the repaired file
  • Supports Excel 2021 & older versions
  • Repairs .DOC & .DOCX files
  • Repairs .PPT, .PPTX, & .PPTM files
  • Repairs corrupted PDF file

CUSTOMER REVIEWS

You’re in Good Hands

left quote

right quote

AWARDS & REVIEWS

Most tested. Most awarded

q1 q1

DATA SHEET

Technical Specifications

product Icon

About Product

Stellar Repair for Excel

Version:6.0.0.7
License:Single System
Edition:Standard, Technician, & Toolkit
Language Supported:English
Release Date:February, 2024
Processor:Intel compatible (x64-based processor)
Memory:4 GB minimum (8 GB recommended)
Hard Disk:250 MB of Free Space
Operating System:
(64 Bit only)
Windows 11, 10, 8.1, 8, 7

USEFUL ARTICLES

How do I repair multiple Excel files by using Stellar Repair for Excel software?

After launching the software, click Select File button in the Home tab. Next, click Browse and select the checkbox against all the Excel files you need to repair. Then, click the Repair button to start repairing all the Excel files.

Learn More

How do I see the Preview of repaired Excel file using the Demo version of the software?

Browse and select the file(s) to repair. The software will start scanning the Excel files once you click the Repair button. Next, it will display the files in the left pane. You can preview their contents in the right pane.

Learn More

How do I find the recovered Excel file?

The software saves the repaired file with the prefix “Recovered” at the user-specified location. You can find the recovered file using the Search box utility in the taskbar.

Learn More

Stellar Repair for Excel

Start Using Stellar Repair for Excel Today

  • Trusted by Millions of Users
  • Awarded by Top Tech Media
  • 100% Safe & Secure to Use

Free download to scan and preview all recoverable Excel data.

How to Fix the Unable to Record Macro Error in Excel?

Summary: You may encounter the “Unable to record macro” error in MS Excel when using Personal Macro Workbooks. In this post, we’ll discuss the possible causes behind this error and the ways to fix it. We’ll also mention a professional Excel repair tool that can help fix the error if it occurs due to corrupted workbook.

Free Download for Windows

A personal macro workbook (Personal.xlsb file) is a hidden workbook in Excel that stores all macros in a single workbook. This allows you to automate processes while working in Excel. Sometimes, when recording macro codes in the personal macro workbook, you may get the message “Personal Macro Workbook in a startup folder must stay open for recording”. When you click on the OK button, it will show the “unable to record” error. This prevents you from recording the macros. Below, we’ll see the causes behind this error and discuss how to resolve this error.

Causes of Unable to Record Macro Error

You may be unable to record macros in Excel due to several reasons. Let’s take a look at the possible causes that can lead to this issue.

  • The location of personal.xlsb file is changed.
  • Personal.xlsb file is corrupted.
  • Macros are disabled.

Methods to Fix the “Unable to Record Macro” Error in Excel

Here are some possible solutions that can help you resolve the unable to record macro error in Excel.

Method 1: Check the Path of XLStart Folder

You may be unable to record macros if the path of XLStart folder is incorrect. It is a folder where the Personal.xlsb file is stored by default. Follow these steps to find out the path of this folder:

  • Open MS Excel. Go to File > Options.
  • Click Trust Center > Trust Center Settings.

Excel Options Window

  • In the Trust Center Settings window, click on Trusted Locations.

Path Of XLStart Folder In Trust Center

  • Verify the path of the XLSTART folder and modify it if there is an issue.
  • Once you are done, click on OK.

Method 2: Change Macro Security

The “Unable to record macro” error can occur if macros are disabled in the Macro Security settings. You can try changing the macro settings using the below steps:

  • In MS Excel, go to File > Options > Trust Center.

Excel Options To Locate Trust Center

  • Under Trust Center, click on Trust Center Settings.

Change Macro Settings In Trust Center

  • Select “Enable all macros” and then click OK.

Method 3: Check Add-ins for Disabled Items

If there are any items in add-ins that are disabled, they may prevent Excel from functioning properly. You can check and enable the items in MS Excel using the below steps:

  • Click File > Options.

Go To Options

  • In Excel Options, click on the Add-ins option.
  • Select Disabled Items from the Manage section and click on Go.

Add-ins In Excel Options

  • The Disabled Items window is displayed.
  • Click on the disabled item and then click Enable.
  • Restart Excel for the changes to take place.

Method 4: Repair your Excel File

You may fail to record macros if there is corruption in the workbook. In such a case, you can use the “Open and Repair” utility in MS Excel to repair the corrupt workbook. To use this tool, follow these steps:

  • Open your Excel application.
  • Click File > Open.
  • Browse to the location where the corrupted file is stored.
  • In the Open dialog box, choose the corrupted workbook.

Open Dialog Box

  • From the Open dropdown list, click Open and Repair.

Open And Repair Window

Excel will prompt you to repair the file or extract data from it. Click Repair to retrieve maximum data. If the Repair option fails, then click on the Extract Data option to recover the data without formulas and values.

If the Microsoft utility “Open and Repair” fails to repair the corrupted Excel workbook, then try a professional Excel repair tool such as Stellar Repair for Excel. It is an advanced tool that can easily repair severely corrupted Excel (XLSX and XLS) files. It can recover all the file items, including chart sheets, cell comments, tables, macros, formulas, etc. without impacting the properties and cell format of the Excel file.

Closure

You may receive the “unable to record” error in Excel while creating or storing macros in Personal Macro Workbooks. There are several reasons that can lead to this error. You can try the methods covered in this post to resolve the error. If the error appears due to corruption in workbook, then try to repair it using the Open and Repair utility. Alternatively, you can use Stellar Repair for Excel – a professional tool that can help you repair an Excel file with problematic macros. Also, it allows recovery of all the file components with complete integrity. The tool is compatible with Excel 2021, 2019, 2016, and older versions.


  • Title: Solved Microsoft Excel File Error The document cannot be saved | Stellar
  • Author: Ian
  • Created at : 2024-09-17 21:55:23
  • Updated at : 2024-09-24 03:30:11
  • Link: https://techidaily.com/solved-microsoft-excel-file-error-the-document-cannot-be-saved-stellar-by-stellar-guide/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Solved Microsoft Excel File Error The document cannot be saved | Stellar