MS Excel is a very popular spreadsheet and is used worldwide for storing, organizing and manipulating data. This is used for both the individual and business purposes; this comes in two extensions XLS and XLSX format. But apart from its popularity, it is found this gets corrupted and due to this, it starts showing Runtime error 1004.

Here in this article, we are going to describe one of the commonly faced runtime error 1004 in Excel 2016 and 2013. This is very annoying as this appears while working on the excel file or during trying to generate a Macro in Excel document and as a result, you are unable to do anything in your workbook. This error may cause serious trouble while you are working with Visual Basic Applications and can crash your program or your system or in some cases, it freezes for some time. This error is faced by any versions of MS Excel such as excel 2007, excel 2010, excel 2013 and 2016 as well. So to fix the Microsoft visual basic runtime error 1004, follow the steps.


List of Commonly Found Runtime Error 1004 VBA:


The lists of error messages associated with this excel error 1004 are:

  1. VB: run-time error ‘1004’: Application-defined or object-defined error
  2. Excel VBA Runtime error 1004 “Select method of Range class failed”
  3. runtime error 1004 method range of object _global failed visual basic
  4. Excel macro “Run-time error ‘1004″
  5. Runtime error 1004 method open of object workbooks failed
  6. Run-Time error ‘1004’: Method ‘Ranger’ of Object’ Worksheet’ Failed
  7. Save As VBA Run-time Error 1004: Application defined or object defined error

You may also like: 


Why This Visual Basic Runtime Error 1004 Occurs:


Follow the reasons behind getting the error:

  1. Due to corruption in the desktop icon for MS Excel
  2. Conflict with other programs while opening VBA Excel file
  3. When filtered data is copied and then pasted into MS Office Excel workbook
  4. Due to application or object defined error
  5. A range value is set programmatically with a collection of large string.

Well, these are common reasons behind getting the VBA runtime error 1004, now know how to fix it. Here we have described both the manual as well as automatic solution to fix the run time error 1004 in excel 2016 and 2013. In case you are not able to fix the error manually then make use of the automatic MS Excel Repair Tool to fix the error automatically.


Manual Solution for Runtime error 1004:


Follow the steps given below:

  1. Go to the Task Manager and stop entire running programs.
  2. Then go to start menu > and select Control Panel.
  3. Next, in the Control Panel select Add or Remove Program.
  4. Here, you will get the list of programs that are currently installed on your PC, and then from the list select Microsoft Work.
  5. And click on uninstall to remove it from the PC.

It is also important to scan your system for viruses or malware, as this corrupts the files and important documents. You can make use of the best antivirus program to remove malware and also get rid of the runtime error 1004.

Follow another Manual Method to fix the Excel Runtime Error 1004:

  1. Right click on the start menu
  2.  Then select the Explore option
  3. Then open the following directory – C:\Program Files\MSOffice\Office\XLSTART
  4. Here you need to delete “GWXL97.XLA” file
  5. And open the excel after closing the explorer

You would find that the program is running fine without a runtime error. But if you are still facing the error then make use of the automatic MS Excel Repair Tool, to fix the error easily.


Automatic Solution: MS Excel Repair Tool


MS Excel Repair Tool is a professional recommended solution to easily repair both .xls and .xlsx file. It supports several files in one repair cycle. It is a unique tool that can repair multiple corrupted excel file at one time and also recover everything included charts, cell comments, worksheet properties and other data. This can recover the corrupt excel file to a new blank file. It is extremely easy to use and supports both Windows as well as Mac operating system.

Excel Repair for Windows

Steps to Utilize MS Excel Repair Tool:




Hope this article helps you to repair the runtime error 1004 in excel and recovers excel file data. In this article we have provided a manual as well as automatic solution to get rid of the error, you can make use of any solution according to your desire.

Good Luck!!!

How to Repair Runtime Error 1004 in Excel
How to Repair Runtime Error 1004 in Excel
Article Name
How to Repair Runtime Error 1004 in Excel
Delete “GWXL97.XLA” file or scan your PC with good antivirus program to remove malware or viruses to fix the Visual basic runtime error 1004 in excel
Publisher Name
Repair MS Excel Blogs
Publisher Logo

Leave a Reply

Your email address will not be published.