Fixed Cannot Insert Object Error in Excel 2013 | Step-by-Step Guide | Stellar

Fixed Cannot Insert Object Error in Excel 2013 | Step-by-Step Guide | Stellar

Nova Lv12

Fixed “Cannot Insert Object” Error in Excel | Step-by-Step Guide

Summary: The error “cannot insert object” in MS Excel can prevent you from modifying objects in the worksheet. This blog will discuss the primary reasons behind this error and the possible solutions to fix it. You will also learn about a professional Excel repair software that can help fix the error if it has occurred due to corruption in Excel file.

Free Download for Windows

Many users have reported encountering the “cannot insert object” error while adding/embedding objects into the Excel file. It usually occurs when using Object Linking and Embedding (OLE) to add content (PDF, Microsoft documents) from external applications to worksheet. The error can also occur when using ActiveX control in Excel. Below, we’ll explain why you cannot insert object into Excel sheet and how to troubleshoot the issue.

Why the “Cannot Insert Object” Error Occurs?

  • Macro Settings can prevent the insertion of objects into a workbook.
  • The Excel file in which you are trying to add an element is corrupted.
  • The object (you are inserting into the workbook) is damaged.
  • Object size limitations.
  • System’s insufficient memory might prevent new objects’ addition.
  • Incompatible Excel file format.
  • Add-ins controls are disabled.
  • Incompatible or faulty Add-ins.
  • Issue with Security Settings.

Methods to Fix the “Cannot Insert Object” Error in Excel

You may encounter the “Cannot insert object” error when trying to add an element stored on a network. It can occur due to issues with the file link, such as incorrect file location. In such a case, you can check the link by selecting the link to file option from the Insert tab.

Sometimes, the error can occur if the file in which you are trying to insert the object is locked and password-protected. In this case, you can unprotect the Excel file . If the issue still persists, then you can follow the below methods.

Method 1: Check and Change Restricted Security Settings

Excel provides security settings to protect your workbook. Sometimes, these settings can prevent inserting objects in the file. You can change the security settings to allow Excel to insert objects. To do so, follow these steps:

  • Open your Excel application.
  • Locate the File and then click Options.
  • In Excel Options, click Trust Center.

Trust Center In Excel Options

  • Click Trust Center Settings.
  • In the Trust Center Settings window, select Protected View from the left pane.

Click Protected View In Trust Center

  • Under Protected View, unselect the below three options:
  • Enable Protected View for files originating from the internet.
  • Enable Protected View for files located in potentially unsafe locations.
  • Enable Protected View for Outlook attachments.

Select All Options Under Protected View

  • Click OK.
  • Once you’re done with this, click on Macro Settings in the Trust Center window.
  • Under Macro Settings, make sure “Disable all macros without notification” is not selected. If it is selected, then unselect it. After that, click OK.

Click Macro Settings And Disable Macros Without Notifications

  • Restart Excel to apply the changes.

Method 2: Uninstall Microsoft Office Updates

You can also encounter the “Cannot insert object” error in Excel after installing MS Office updates. It might be due to the issues with the installed updates. To fix this, you can uninstall the recently installed Office updates. To uninstall the Office updates, follow these steps:

  • Go to the system’s Control Panel.
  • Click Programs and then click Program and Features.
  • Search for “View Installed Updates” and click on the desired Office updates.
  • Right-click on it and then click Uninstall.
  • Follow the uninstallation steps on the screen.
  • Once the process is complete, restart the system.

Method 3: Check Memory Usage

The “Cannot insert object” issue can also occur if your system is low on memory. You can check and close unnecessary processes and applications running in the background to free up memory. To do so, follow these steps:

  • Press CTRL + ALT + DEL on the keyboard and click Task Manager.
  • Click on the Processes tab and search for any unnecessary processes.
  • Right-click on the process and then select End Task.
  • Restart Excel to see if the issue is fixed.

Method 4: Check Excel File Size

If your Excel file size exceeds the prescribed limit, it can also lead to the “Cannot insert Excel object” error. So, check the Excel file size. You can reduce the file size by removing unnecessary objects, such as formulas or images.

Method 5: Check and Change Excel ActiveX Settings

You can get the “Excel cannot insert object” error if your Excel file contains macros, controls, and other interactive buttons. It usually occurs if the ActiveX Controls option is disabled. You can check and change the ActiveX Settings to fix the issue. Here are the steps:

  • Open your Excel application.
  • Navigate to File and then click Options.
  • In Excel Options, click the Trust Center tab.
  • In the Trust Center Settings, click ActiveX Settings.
  • Under ActiveX Settings, make sure the “Enable all controls without restrictions and without prompting” option is selected.

select enable all controls without restrictions under activexsettings

  • If the option is not selected, then select it and click OK.
  • Restart the Excel and check if the error is fixed or not.

Method 6: Repair the Excel Workbook

The “Cannot insert object” error can occur if the object you are trying to insert is corrupted or the file in which you are inserting the object is damaged. If the issue has occurred due to a corrupted Excel file, then you can repair the file using the Open and Repair utility in MS Excel. To use this Microsoft-inbuilt utility, follow these steps:

  • In the Excel application, go to the File tab and then click Open.
  • Click Browse to choose the affected 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 Repair.

Click On Repair Option

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

Click Close Option In Repair Message

  • Click Close.

If the Open and Repair utility fails to fix the issue, then try a professional Excel Repair software, like Stellar Repair for Excel. It is designed to repair severely corrupted Excel files. It can restore all the Excel file objects, such as tables, charts, formulas, etc. It helps fix all types of corruption related errors. The software is compatible with all versions of Excel.

Conclusion

You might encounter the “Cannot insert object” error when embedding or inserting objects in Excel. In this post, we have discussed the possible solutions to fix this error. We have also mentioned an Excel repair software that can help to easily repair the corrupted Excel file and recover all the data. You can download the Stellar Repair for Excel’s free demo version to preview the recoverable objects of the corrupted Excel file.

Repair Office 2016 Files (Word, Excel and PowerPoint)on Windows

If you frequently work with Microsoft Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files, then issues like file inaccessibility or corruption won’t be new to you.

Let’s discuss some common scenarios which may lead to corrupt MS Office 2016 files:

Scenarios behind Microsoft Office Files Corruption

Scenario 1 – Disruption during Data Migration

You decide to move Office files from your hard drive to other removable media. However, when you try to access the data within the files post-migration, you may find Word, Excel, and PowerPoint files showing gibberish characters. Due to a power surge, sudden system shutdown, and internal mechanical failure, the files may have turned corrupt.

Figure 1- Microsoft Word file showing garbage characters

Scenario 2 – Office Files and Registry Entries Become Infected

When you open or use the Microsoft Office application, it crashes as soon as it opens. You assume that an add-in was causing the problem and restart the Office application without add-ins loaded, but the application still crashes. This may happen because of a virus infecting the Office files and registry values, thus leading to corrupt or damaged Office files.

Scenario 3 – Inaccessible or Lost Data

Suppose all your Office files are stored on a USB device, and you unplugged the device while it was still open in Windows. Now, when you attempt to open a Word or an Excel file, all the data is gone. Unsafe removal of USB or any other external storage device may corrupt the data inside your Office files or turn the file inaccessible.

How Can You Deal with Microsoft Office Files Corruption?

Here are a few solutions that can help you fix or repair Office 2016 Files Corruption:

Solution 1 – Use Microsoft in-built Repair Utility

Microsoft recommends using its in-built repair utility, ‘Open and Repair’, to fix corrupt Office files. Follow these steps to understand how you can use the utility to repair the corrupt Word, Excel, and PowerPoint files:

  • Launch the MS Office application whose file you want to repair:
  1. To repair corrupt Word (.doc, .docx) files, launch MS Word
  2. To repair corrupt Excel files (.xls, .xlsx) files, launch MS Excel
  3. To repair corrupt PowerPoint (.ppt, .pptx) files, launch MS PowerPoint
  • Click File, and then click the Open tab.
  • Click Navigate to the location or folder where the Word, Excel, or PowerPoint file is stored.
  • Select the corrupt file you want to repair by single-clicking on it, and then find the Open button and click on the drop-down menu next to it.

  • From the drop-down menu, click the Open and Repair option and follow the subsequent instructions to repair Office 2016 files.

Solution 2 – Repair Office 2016 Installation

Try repairing the Office installation to fix the MS Office files. The steps to repair your Office installation may vary depending on the operating system you are using.

For Windows 7

  • Open your PC’s control panel
  • Click Programs

  • Click Programs and Features, and then click Uninstall a program option

  • Right-click on the Office application you want to repair, and then click Change

  • Under Change your installation of Microsoft Office Professional Plus 2016, choose Repair and then click Continue.

For Windows 10

  • Right-click the Start button, and type in Apps & Features (For Windows 10)

NOTE: This step will work for Windows 10/8/8.1/7 and Vista

  • Click Programs from the window that opens, click on the MS Office product you want to repair, and then click on Modify

Note: Following the step will repair the entire Microsoft Office suite even if it contains only one application you want to repair such as an Excel or PowerPoint file. But, in case you have a standalone app installed, try to locate that application by name.

  • Under Change your installation of Microsoft Office Professional Plus 2016, choose Repair, and then click Continue to initiate the repair process.

  • Once the repair process completes, you’ll be prompted to restart your PC. Click Yes

Solution 3 – Use Stellar Toolkit for File Repair

Repair MS Office 2016 files by using Stellar Toolkit for File Repair . This software comprises four essential utilities that can help you repair corrupt MS Word, MS Excel, MS PowerPoint, and PDF files.

The toolkit helps repair corrupt Office 2016 and other version documents and files while maintaining the original file format, which is less likely achievable with inbuilt methods. Follow these steps to repair MS Office 2016 documents by using the Office file repair tool:

  • Download and install Stellar Toolkit for File Repair.

free download

  • Launch the software.
  • From the software’s main interface, select the MS Office file you want to repair.

  • From the window that pops up, select the corrupted file to be repaired.

Note: If you don’t know the exact location of corrupt office files or if they are large in number, you can locate the files by using the Find/Search option included in the software.

  • After selecting the file, click the Scan button to initiate the repairing process.
  • Once the scanning process is complete, all the recoverable information is displayed in the software’s left-hand panel. Click on any item to preview it before recovery.
  • To save the repaired data, click the Save button, and enter a destination of your choice.
  • Click OK.

Conclusion

This post outlined possible scenarios and their causes that may lead to corruption in MS Office 2016 files. It also emphasized how the inbuilt methods such as Open and Repair, and Repair Office Installation help to resolve the corruption issues. But these are not competent enough to resolve all the errors. With Stellar Toolkit for File Repair, you can resolve all sorts of corruption issues and recover data of Office 2016 files – Excel, Word, PPT, and PDF – in their original state.

4 Ways to extract data from corrupt Excel file

Summary: Excel files can become corrupt due to numerous reasons. This blog will discuss the reasons behind the corrupted Excel files. Sometimes the file becomes inaccessible. This post includes four ways to extract data from a corrupt Excel file. It also mentioned Stellar Repair for Excel to repair severely corrupted files. The tool helps you recover data from damaged Excel files with complete integrity.

Free Download for Windows

Imagine the frustration of an employee if an Excel workbook he took hours to complete became corrupted for some reason threatening to erase all the data saved in it. Not just that, a corrupted Excel workbook can wreak havoc for the organization too since it poses a risk of permanently deleting critical business information like work records or employee trackers.

Unless a backup of all important Excel files exists, recovering data lost due to damage/corruption to them is next to impossible. However, we’ve conducted some research and found some pretty neat hacks to help you extract data from corrupt excel files without much hassle.

Primary reasons triggering Excel file corruption

As we always point out, to solve a problem for good, getting to its root is imperative. Here are the main reasons that cause Excel file corruption. Knowing these reasons can help you keep Excel corruption at bay for a considerably long time.

  • Abrupt system shutdown when you’re editing an Excel sheet
  • Bugs / Defects in your Excel application or installation
  • Hardware failures like bad sectors on the hard drive where Excel sheets are saved
  • Virus Infection / Malware Attack
  • Excessive data storage within a single Excel file
  • Faulty Excel Macros and CSE Formulas

Depending upon the extent of damage, there can be several ways to perform corrupt Excel file repair.

How to repair corrupt Excel files?

There are a couple of manual methods that can help you repair corrupt Excel files .

  1. If the damaged Excel sheet can be opened, immediately save its copy; thereafter:
    • Open it with a later version of Excel and save it as a new workbook.
    • If this doesn’t work, open it in Excel’s latest version and save the workbook in HTML or HTM format.
    • Once this is done, reopen the HTML file and save again in XLS format.
    • Lastly, open the file and try saving it in SLK format (symbolic link)

Note: It is important to note that saving an Excel workbook in HTML format causes loss of features like custom views, scenarios, unused styles or number formats, natural language formulas, data consolidation settings, custom function categories, etc. In SYLK format only the active worksheet is saved so if using this method, you’ll need to repeat these steps for each worksheet.

  1. Use Excel’s inbuilt Repair function as follows:
    • Launch Microsoft Excel and go to Office button -> Open
    • In the Open dialog box, select the damaged Excel file
    • On the bottom-right corner of the Open dialog box, you will find a drop-down next to Open Click on it and select Open and Repair
    • This will launch the inbuilt Repair module of Excel and you’ll see a dialog box asking you to select an option from Repair or Extract Data
    • Click on Repair to initiate the repair process.
    • If this doesn’t work, repeat steps 1-4, and when Excel asks you to select an option, select Extract Data from corrupt excel file. Thereafter, follow the instruction Excel shows and you should be able to retrieve your data, but you may end up losing some formulas.
  2. If you cannot open the Excel, download Spreadsheet viewer from the Microsoft website and open the file using this program. Thereafter copy all data into a new Excel.

Note: This method will cause much of your formatting, formulas, and more to be lost.

  1. You can download Open Office from its official website OpenOffice.org and try opening the Excel in it. The two programs are very similar so all data should automatically align in the correct place and with the correct formatting.

Note: With this method, VBA code cannot be recovered due to incompatibility between OpenOffice.org and Excel.

Full-proof method for corrupt Excel file repair

If you find the above methods confusing, or you wish to perform Excel file repair without having to face any data and formula loss, or you cannot achieve the desired results with any of these methods, stop wasting any more time with methods that will only frustrate you more. Instead, download the sure-shot solution for dealing with severe Excel corruption –Stellar Repair for Excel  and relax!

free download

Stellar Repair for Excel is the best choice for repairing corrupt or damaged Excel (.XLS/.XLSX) files and restoring everything to a new blank Excel file. This competent software can skillfully repair single as well as multiple XLS/XLSX files while preserving worksheet properties and cell formatting. If you have this product by your side, you don’t need to worry about Excel corruption errors ever again.

To Conclude

Instead of giving up on corrupted Excel sheets, try repairing them with the simple tricks we’ve described. And if they don’t work, keep calm and turn to Stellar Repair for Excel.

Resolve Compile Error in Hidden Module in Excel: Causes & Solutions

The hidden module in Excel refers to a container with VBA codes, custom queries, and complex macros. The compile error in a hidden (protected) module in the Excel worksheet usually occurs when doing different activities on a macro-enabled sheet, such as merging .xls files. The error can result in macros execution failure. You need to quickly resolve this compile error to restore full functionality of the VBA code. Below, we’ll be discussing the solutions to fix this Excel error. But before that, let’s see why this error occurs.

You may encounter the Compile error in hidden module due to one of the following reasons:

  • The code in the workbook is not compatible with the Excel application.
  • Manual queries created in a previous version are no longer compatible with your current version of Excel.
  • Missing references.
  • Invalid .exe files (control information cache files) are automatically created with ActiveX control insertion in Excel file.
  • Protected module is corrupted.
  • The workbook with hidden module is damaged or corrupted.
  • Incompatible add-ins.
  • Incompatible Excel file version.
  • The module is protected or password-protected.
  • Missing or corrupted mscomctl.ocx file.

Excel can throw the compile error while compiling the code that exists in the protected module. So, first check the error and identify the hidden module that is creating the issue. You can unprotect the module. Also, ensure that you have permission to access the VBA code in the module. If the error still exists, follow the below troubleshooting methods.

Method 1: Re-register ActiveX Control Files or mscomctl.ocx Files

You can get the compile error in the Excel file, containing the VBA code related to ActiveX controls or OCX files. The ActiveX control files and OCX files (mscomctl.ocx files) are the components of Microsoft’s standard controls library. The compile error in the hidden module can occur if these files are missing. In this case, you can use the Regsvr32 tool to re-register the OCX files. The Regsvr32  is a command-line utility to register and unregister OLE controls in the Windows registry.

Method 2: Delete .exd Files

 The .exd files are temporary files created by Excel when inserting ActiveX controls objects. These temporary files can lead to a compile error if they are corrupted. So, if this issue has occurred, particularly in the Excel file containing ActiveX controls, then deleting .exd files might fix the issue. To delete the .exd file, follow the below steps:

  • First, open the Run window by pressing the Windows+R keys.

Open The Run Window

  • In the Run window, type %appdata%.

Type App Data Command

  • In the Roaming window, click on the Microsoft option.

Click On Microsoft Option Under Roaming

  • Under Microsoft, you will see a list of folders. Search and click on Forms.
  • Right-click on a file with .exd extension and select Delete.
  • Once you delete the .exd files, restart your Excel application.

Method 3: Rollback the Office Updates

MS Office updates or upgrades may also cause the compile error in hidden module in Excel. If the error has occurred after downloading the recent Microsoft Office updates, try reverting to the previous version or uninstalling the recent updates to fix the issue.

Method 4: Unselect Missing References

The compile error in hidden module determine path in Excel can also occur if your file contains a reference to object library/type library, which is labelled as Missing. You can locate, check, and uncheck the references marked as ‘Missing’ to fix the issue. Here are the steps:

  • Open your Excel and press Alt + F11 keys.
  • The Visual Basic Editor is displayed.

Visual Basic Editor

  • Go to the Tools option and then click References.

Click On References Under Tools Option

  • In the References-VBAProject window, under Available References, search and unselect the references starting as “Missing”.

Unselect Missing References

  • Click OK.

Method 5: Check the Code in Module

The compile error in hidden module can occur if there are issues in the code within the module. The problems include incorrect or missing syntaxes, missing parameters/references, or the code contains incompatible functions or a wrong name of the object. You can check and fix these issues in the code by opening the VBA editor.

Method 6: Check and Remove Add-ins

In Excel, the compile error in macro-enabled files can also occur due to incompatible add-ins. You can check and disable the add-ins in Excel using the below steps:

  • First, open the Run window and type excel /safe and then click OK. The Excel application will open in safe mode.
  • Now try to open the affected Excel file. If it opens without the error, then check and remove the latest installed Excel add-ins.
  • Navigate to the File option and then select Options.
  • In the Excel Options window, click Add-ins.

Click Addins Select Latest Addins

  • Under Add-ins, search and select the latest add-ins, and then click on Go.
  • In the Add-ins window, uncheck the add-ins and then click OK.

Select  Analysis Toolpak

  • Restart Excel and then check if the error is fixed or not.

Method 7: Repair the Corrupt Excel File

Corruption in the Excel file can affect the macros in the hidden module, which may result in the compile error. In such a case, you can try repairing the Excel file using Microsoft’s inbuilt utility -Open and Repair. To use this tool, follow these steps:

  • Open your Excel application.
  • Click the File tab and then click Open.
  • Click Browse to select the affected workbook.
  • The Open dialog box will appear. Click on the corrupted file.
  • Click the arrow next to the Open button and then Open and Repair.
  • You will see a dialog box with three buttons - Repair, Extract Data, and Cancel.

Click On Repair Option

  • Click on the Repair button to recover as much of the data as possible.
  • After repair, a message is displayed. Click Close.

Message Appear After Repair

What if None of the Above Solutions Works?

If the above methods fail to get rid of the “compile error in hidden module” in Excel, then use an Excel repair tool such as Stellar Repair for Excel. This tool is specifically designed to repair the corrupted Excel file. It can recover all the components from corrupted Excel file (macros, queries, formulas, etc.) without changing their original formatting. The tool is compatible with all Excel versions and can be downloaded on a Windows system. You can download the free trial version of Stellar Repair for Excel to scan the corrupted Excel file and preview the data.

Closure

You can get the “compile error in hidden module” when Excel detects any issue while compiling the code in a protected module. It can occur when there is an issue with the macro-enabled Excel workbook or Excel add-ins. You can follow the above-mentioned methods to fix the issue. If the error occurs due to corruption in the database file, then you can try Stellar Repair for Excel . It can repair severely corrupted Excel files. It also helps recover all the Excel workbook’s components, including macros and queries. The tool has a simple and user-friendly interface.

How to fix Pivot Table Field Name is not Valid error in Excel?

The Pivot Table field name is not valid error can occur while creating, modifying, or refreshing data fields in the pivot table. It can also appear when using VBA code to modify the pivot table. It usually occurs when there is an issue with the field name in a code or if there is a hidden or empty column in the pivot table. However, there could be many other reasons behind this error.

Why the “Pivot Table Field Name is not Valid” Error Occurs?

You can get the “Pivot Table field name not valid” error in Excel due to several reasons. Some possible causes are:

  • Excel file is corrupted
  • Damaged fields in the pivot table
  • Pivot table is corrupted/damaged
  • Hidden columns in the pivot table
  • Macro (referring to the pivot table) is corrupted
  • Preserve formatting option is enabled
  • Missing or incorrect fields in the VBA code
  • Issue with workbook.RefreshAll method syntax (if using)
  • Pivot Table contains empty columns
  • Header values or header column is missing in the Pivot Table
  • Pivot table is created without headers
  • Columns/rows are deleted from the Pivot Table

Methods to Fix Pivot Table Field Name is not Valid Error in Excel

You can get this error if you have selected the complete data sheet and then trying to create the Pivot Table. Make sure you choose only the data fields that you want to insert in the Pivot Table. If this is not the case, then follow the troubleshooting methods mentioned below.

Method 1: Check the Header Value in the Pivot Table

The “Pivot table field name is not valid” error can occur if you have not set up the pivot table correctly. All the columns having data in them should have header and header values. A pivot table without a header value can create issues. You can check the header and its value from the Formula bar. Change the header if the header value is too lengthy or if it contains special characters.

Adding reference for the document with details.

Method 2: Check and Change the Data Range in the Pivot Table

The “Pivot Table field name is not valid” can occur while modifying a field in Pivot Table. It usually occurs if you’re trying to add or modify the field by selecting an incorrect data range in the Create PivotTable dialog box. The “Create PivotTable“ feature helps define how data would be displayed within the pivot table.

Let’s take a scenario to understand this. Open the Excel file with PivotTable. Click on the fields (you want to add), go to the Insert option, and click PivotTable.

Inserting a Pivot Table from selection

If you select an incorrect range, i.e. A1:E18, instead of correct range - “Expenses**!$A$3:Expenses!$A$4**,” you will immediately get the error message.

Selecting a table range with values for report

So, type the correct range under the Select a table or range option and click OK.

Method 3: Unhide Excel Columns/Rows

The error can also occur if some columns/rows of the Pivot Table’s data source are hidden. When you try to add a hidden column as a field in the PivotTable, the Excel application will fail to read the data of the hidden column. You can check and unhide the Excel columns by following these steps:

  • Open the Excel file.

  • Locate the hidden column number.

  • Move your cursor on the hidden column number and right-click on the space between the columns. Click Unhide.

    unhiding the rows in Excel

Method 4: Check and Delete Empty Excel Columns

Sometimes, you can get the “Pivot Table field name is not valid” error if you are trying to use an empty column as a field in your Pivot Table. Check the columns with no values in all cells. If found, then delete the empty columns. This method is ideal for small-size Excel files. However, for large-sized files, it is a time-consuming process.

Method 5: Unmerge the Column Header (If Merged)

The “Pivot Table field name is not valid” error can also occur due to merged column headers. The pivot table references headers to identify the data inside the rows or columns. The merged headers can sometimes create data inconsistencies. You can try unmerging the column headers to fix the issue. Follow these steps:

  • In the Excel file, go to the Home

  • Click the Merge & Center option and select Unmerge Cells from the dropdown.

    unmerging cells from home tab in Excel

Method 6: Disable the Background Refresh Option

If the “background refresh” option in the Excel file is enabled, it may also create issues with Pivot Table. The Excel updates all the pivot tables in the background even after a small change if the background refresh option is enabled. This may create issues if the Excel file is large with too many tables. You can try turning off the “background refresh” option in the Excel file to troubleshoot the issue. Here is how to do so:

  • In the Excel file, go to the Data tab and then click Connections.

    Adding connections from the data

  • In the Workbook Connectionsdialog box, click on the ‘Add’ dropdown to add the workbook (in which you need to modify the refresh settings).

    Add the option for the Workbook connections.

  • Once you have chosen the Excel file, click Properties.

    Selecting Properties for the Workbook connections.

  • In the Connection Properties window, unselect the **”Enable background refresh”**option, select the “Refresh data when opening the file“, and click **OK.

    Enabling the connection properties by enabling and refreshing data

    **

Method 7: Check the VBA Code

The error can also occur when working with PivotTable using VBA code in Excel. Some Excel users reported this error on forums as run-time error 1004: The PivotTable field name is not valid. This error usually occurs when there are issues in the VBA code, affecting the PivotTable data source or field references. You can check field names referring to PivotTable or Workbook.RefreshAll function syntax and other errors in the code.

Method 8: Repair your Excel File

One of the reasons behind the “Pivot Table field name is not valid” error is corruption in the Excel file, containing the Pivot Table. You can repair your Excel file using Microsoft built-in utility - Open and Repair. Here’s how to use this utility:

  • In Excel, navigate to File > Open.

  • Click Browse to choose the affected workbook.

  • The Open dialog box will appear. Click on the corrupted file.

  • Click the arrow next to the Openbutton and then select Open and Repair.

  • You will see a dialog box with three buttons - Repair, Extract Data, and Cancel.

    Repairing the corrupt workbook from Excel

  • Click on the Repair button to recover as much of the data as possible.

  • After repair, a message is displayed. Click Close.

Method 9: Use a Professional Excel Repair Tool

If the Excel file is heavily damaged or corrupted, then the “Open and Repair” utility may not work or provide the intended results. In such a case, you can opt for a professional Excel repair tool. Stellar Repair for Excel is an advanced Excel file repair tool, which is highly recommended by experts. It can repair severely corrupted Excel files and restore all the data from corrupt file, including pivot tables. This tool comes with a user-friendly interface that even a non-technical user can use. You can try the software’s demo version to check how it works. The software is fully compatible with all Excel versions, including Excel 2019.

Conclusion

The Excel error “Pivot Table field name is not valid” can occur due to hidden or merged column/row headers, empty columns/rows, corrupted pivot table, and various other reasons. You can try the methods mentioned above to fix the error. If this error has occurred due to corruption in the Excel file, then you can use Stellar Repair for Excel - an advanced tool to repair corrupted pivot table, macros, fields, or other elements in an Excel file. It is compatible with all Windows editions, including the latest Windows 11. It can help fix the error if the data source or Pivot table configuration is affected by corruption.

Simple ways to Open Corrupt Excel file Without any Backup

Summary: The blog describes simple ways to open corrupt Excel file without any backup. It explains some manual workarounds that you can try to open the file. Also, it mentions about an Excel file repair tool that can quickly fix the corrupt file and recover data from it.

Free Download for Windows

Do you have an Excel file that does not open because of corruption issue? And every time you try to open it, an error message ‘the file is corrupt and cannot be opened’ pops-up?

Excel file is corrupt and cannot be opened message

Excel File Corruption Message

Also, you don’t have a healthy backup of the Excel file to restore the data? If so, you can try repairing the corrupt file by using a few simple yet effective manual workarounds mentioned below.

How to Open a Corrupt Excel File without Backup?

Following are some manual methods that can help you open a corrupt Excel file:

Method 1: Repair Corrupt Excel File

When attempting to open a corrupt file, Excel automatically starts ‘File Recovery’ mode to repair the file. But, if the recovery mode doesn’t start, try Microsoft Excel’s built-in ‘Open and Repair’ feature to manually repair the file.

To use this feature, perform the following steps:

Step 1: Open a Blank workbook in Excel, and then click File > Open.

Step 2: In the Open window, browse and select the corrupt file.

Step 3: Click the arrow that is beside the Open tab, and select Open and Repair.

Open a blank workbook in Excel, navigate to File > Open, choose the corrupt file, and, in the Open window, click the arrow beside the Open tab, selecting Open and Repair for file recovery.

Open and Repair Option

Step 4: Implement one of the following:

  • Click the Repair button. (This is to recover as much data as possible.)
  • Click the Extract Data button. (This is to recover values and formulas from the Excel file if the repair process fails to recover the entire data.)

Initiate file recovery by selecting the Repair tab, and if necessary, retrieve values and formulas using the Extract Data tab in Excel.

Excel Built-in Repair Options

If using Open and Repair does not work , move to the next method.

Method 2: Disable the Protected View Feature

Some Excel users have reported that turning off the ‘protected view’ feature in Excel helped them open the corrupt file. You can also try to disable this feature and open the file. To do so, follow these steps:

Step 1: Open a blank Excel file, click on File > Options.

Step 2: In the Excel Options window, select Trust Center, and then click Trust Center Settings.

In the Trust Center tab, click on Trust Center Settings...

Excel Trust Center Settings

Step 3: Click OK.

Now check if you can open the corrupt file. If not, try implementing the next method.

Method 3: Look For Automatically Recovered Excel File

If you have Excel’s AutoRecover feature enabled, you’ll have access to a copy of the Excel file corrupted or lost due to application crash, power outage, or accidental deletion.

The ‘AutoRecover’ feature saves Excel worksheets at a temporary location after a certain time interval. It saves the worksheets automatically and is turned on by default to reduce the chance of data loss.

Check if you can recover corrupted Excel file by following these steps:

Step 1: In Excel, open a Blank workbook.

Step 2: Go to File and click Options.

Open a new Excel workbook, then access additional settings by navigating to File and selecting Options.

Figure 5 – Excel Options

Step 3: In the Excel Options dialog box, click Save, and then copy the ‘AutoRecover file location’.

Copy the 'AutoRecover file location' for configuration or backup purposes.

Excel Options Window

Step 4: Open File Explorer window and paste the copied AutoRecover file location, and press Enter.

Step 5: A list of saved Excel files will be displayed. Choose the file you want to recover.

TIP: Use Excel’s AutoBackup feature to reduce chances of data loss, by saving a previous version of your spreadsheet automatically.

Use an Excel File Repair Software

If the above manual methods fail, repair the corrupt Excel file by using a third-party software, such as Stellar Repair for Excel**.** The software helps repair Excel (XLS and XLSX) files easily and effectively.

Free Download for windows

Read this: How to repair corrupt Excel file using Stellar Repair for Excel?

Some key features of Excel Repair software are as follows:

  • Fixes all errors in the MS Excel file.
  • Repairs multiple damaged Excel files in a go.
  • Recovers chart, chart sheet, table, cell comment, image, formula, and sort & filter.
  • Preserves properties and cell formatting of Excel worksheets.
  • Previews recoverable Excel file data before saving.
  • Recovers all data components from the corrupt files and saves them in a new blank Excel file.
  • Compatible with Excel 2019, 2016, 2013, 2010, 2007, and lower versions.

Conclusion

You can try the workarounds discussed in the blog to open a corrupt Excel file without a backup. Disabling the protected view feature can help you open the file. If the issue persists then try repairing the corrupted Excel file using the Open and Repair utility. Although, it may not be able to fix a severely corrupted workbook. In such a case you can use Stellar Repair for Excel . It is an advanced tool that can help you repair a corrupted Excel file with 100% integrity.

‘Unable to Save Excel Workbook’ Issue [Fix 2024]

Summary: You may unable to save your Excel Workbooks due to several reasons. Many users have reported this issue on the Tech Forums. This blog will discuss a few instances when users cannot save their Excel files. It lists the causes behind the issue and their possible solutions. It also mentions the Stellar Repair for Excel to fix the saving error if it is due to corruption in the Excel file.

Free Download for Windows

It is easy to work with Microsoft Excel but sometimes, the application may create issues thereby hampering the smooth functioning of the workbook. One such issue is “unable to Save Excel Workbook”.

Let’s take a look at the issue of Unable to Save Excel Workbook

Instance 1:

In an organization, users connected to one of the servers (Windows 2008 R2) using Citrix – a Terminal Server configured with Windows 2008 R2 –and accessed their data through a File Server, also configured with Windows 2008R2. Since the connectivity to Shared Drive was established through a Terminal server, any conflict amongst the server configuration may create conflict in shared file.

This issue was discussed at length at one of the Tech Forums , where the users were unable to access their workbooks stored on the shared drive. The File menu did not work. As a result, the users were forced to save the workbook by creating quick access shortcuts or locally on the desktop. In many cases, the saving option was ruled out completely.

Instance 2:

A similar problem was reported, wherein the users received an error when saving an Excel workbook after inserting a chart in an existing workbook (previously saved) or copying values from an existing workbook. A system is configured with Windows 7 and Microsoft Office 10 configuration. The issue arises when the user is unable to save the changes after editing in a saved spreadsheet. The following message displays on the screen:

Image of Error message while trying to save excel file

Figure: Unable to Save Excel WorkBook Issue

Further, if the user clicks ‘Continue’, the following error message is received:

“Excel encountered errors during save. However, Excel was able to minimally save your file to <**filename.xlsx**>”.

Note: This issue impacts build Version 1707 (Build 8326.2086) and later, and also only occurs with files that are stored locally, such as on the desktop. This problem does not occur if you manually enter values or insert a chart in a newly created workbook.

Plausible reasons for the ‘Unable to save Excel workbook’ Issue

  1. The issue was detected in Microsoft Office Professional Plus 2010 32-bit, Service Pack 14.0.6029.1000.
  2. Excel version on the user system may or may not match with Excel version on File server.
  3. The issue of ‘Unable to Save Excel Workbook’ impacts only the Build Version 1707 (Build 8326.2086) and later.
  4. In case of Issue 2, the problem surfaces when the user adds files, tables or charts in the locally saved excel files, such as on the desktop.

Methods to fix the ‘Unable to Save Excel Workbook’ Issue

There may be an issue with the Build version or the Registry Values settings may not be appropriate, which does not allow the Excel workbooks to save.

But, before starting to resolve the issue, verify the following:

  1. The location where the file is to be saved may not have enough space to save the Excel file: Check the available space and save again. You may also use the option of ‘Save As’ to save the file at a new location.
  2. Excel file may be a shared one where edits are not allowed by a specific user: There are restrictions attached to documents and other files shared over the network. Check for these restrictions.
  3. Antivirus may interrupt in during file saving: Antivirus in the system may not allow saving of the files. Request the system administrator to uninstall the antivirus and reinstall after saving.
  4. The file is not saved within 218 characters: If the file is not saved due to the naming issue, then check the character length and try again.
  5. Differences in Windows versions of the local system and those on network drive may cause excel not saved issues. Check that all the systems have the same configuration and are updated to the recently available versions.
  6. Excel spreadsheet is corrupt: If none of the above factors have not caused hindrance in saving the file, then there may be a probability of corruption in the Excel spreadsheet .

Once verified, look for a healthy and restorable backup. If backup is missing, resolve the issue of “Unable to open Excel File” with manual settings on local system or through a reliable Excel repair software.

Method 1: Modify Registry Entries

If multiple users are unable to access their workbooks stored on the shared drive and facing unable to save Excel file problem (see Instance 1 above), then follow the below steps:

  1. Go to ‘Registry Entry’. To do this, type ‘regedit’ in the Start Search box, and press ENTER

Image of Run window with the command 'regedit" that is to be Run

Figure: Edit Registry

  1. You are prompted for the administrator password or for a confirmation, type the password, or click Continue
  2. Locate the following registry subkey, and right-click it: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC

Image of Registry Editor window, locating the registry subkey

Figure: CSC Location

  1. Point the cursor to New, and click Key

Image of Registry Window, Right clicking on the subkey 'CSC', hover over "New" and clicking on "Key"

Figure: Create new key

  1. Type ‘File Parameters’ in the available box

'Type ‘File Parameters’ in the available box'

Figure: File parameters

  1. Right-click Parameters, point the cursor to New, and click DWORD (32-bit) Value

Image of selecting DWORD (32-bit) Value under "New" by right clicking on "File Parameters" in the Registry Editor

Figure: File parameter (DWORD – 32 bit) value

  1. Type ‘FormatDatabase’, and press ‘ENTER’. Right-click ‘FormatDatabase’, and click ‘Modify’

Image of clicking on "Modify..." by right-clicking on FormatDatabase that was entered

Figure: Modify format database

  1. In the Value data box, type ‘1’, and click ‘OK’

Image of Value Data set as 1 in the Value data box 1 after clicking on "Modify..."

Figure: Value data

  1. Exit ‘Registry Editor’
  2. Restart the system and verify if the files can be saved now

Method 2: Try Google Uploads

If the user is unable to save the changes after editing in a locally saved spreadsheet (see Instance 2 above), then follow these steps:

  1. Upload the unsaved Excel file to Google Docs. Ensure that the file gets converted to Google Sheets format.
  2. Check if all the formulae are active and working.
  3. Make changes to the Google Sheet and verify that all the changes are working fine.
  4. Use the Google Sheets export feature to download the file in Excel format.

Method 3: Resolve manually with Open and Repair

If the Excel file is found to have corruption, try out the Excel Open and Repair utility:

  1. Open a blank Excel File. Go to File and Click Open.
  2. Go to Computers and click Browse.
  3. Access the Location and Folder and click the arrow icon beside Open followed by Open and Repair.

Image of Open and Repair built-in utility in the browse window.

Figure: Illustrates Steps to use ‘Open and Repair’ method

The Open and Repair utility is not competitive enough and may not fix corruption in severely corrupted files. Hence, if you are unable to save Excel workbook after applying the manual methods, then you can search for a useful software-based repair utility.

Method 4: Excel File Repair Software

Specifically meant to resolve Excel file corruption. Stellar Repair for Excel helps you to repair every single object including charts, tables, their formatting, shared formulae and rules and more.

  1. Install and Open the software and select the corrupt Excel File. You can also click the Find option if the file location is not known.
  2. Click Scan and allow the software to scan and repair the corrupt Excel file.
  3. Once repaired, the software displays the fixed file components to verify its content.
  4. Click Save to save the file data in a blank new file as ‘Recovered_abc.xls’, where abc.xls is the name of the original file.

See the working of the software which has been declared as a tool that provides 100% integrity and precision.

The Excel repair software takes care to save the repaired data in a new file to minimize the chances of further corruption.

Conclusion

‘Unable to save Excel file’ is a generic problem that may appear due to various reasons. In this blog post, we presented some of the actual instances reported by users on community forums.

Windows updates, the Build versions, the Service Packs of the local systems and those on the network drive must be either similar or in sync with each other. Any deviation may cause issues in accessing or saving the Microsoft files, as reported in Instance 1 is caused where user is unable to save Microsoft Excel file on the Network Drive. In case, the user is unable to save the file on network drive then the problem lies with the Registry value.

Another case is when the users receive an error while saving an Excel workbook after they insert a chart in an existing workbook or copying values from an existing workbook. This issue is known to affect build Version 1707 (Build 8326.2086) and later, and only occurs with locally stored files.

When a user is unable to save a specific Excel file, then the problem can be resolved using the manual methods or the software based utility. The mode of repair depends upon the level of corruption in Excel file.

Hence, it is suggested to analyze the nature of the problem and decide an appropriate resolution method.


  • Title: Fixed Cannot Insert Object Error in Excel 2013 | Step-by-Step Guide | Stellar
  • Author: Nova
  • Created at : 2024-03-12 21:12:43
  • Updated at : 2024-03-14 16:17:15
  • Link: https://phone-solutions.techidaily.com/fixed-cannot-insert-object-error-in-excel-2013-step-by-step-guide-stellar-by-stellar-guide/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Fixed Cannot Insert Object Error in Excel 2013 | Step-by-Step Guide | Stellar