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:
- VB: run-time error ‘1004’: Application-defined or object-defined error
- Excel VBA Runtime error 1004 “Select method of Range class failed”
- runtime error 1004 method range of object _global failed visual basic
- Excel macro “Run-time error ‘1004″
- Runtime error 1004 method open of object workbooks failed
- Run-Time error ‘1004’: Method ‘Ranger’ of Object’ Worksheet’ Failed
- 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:
- Due to corruption in the desktop icon for MS Excel
- Conflict with other programs while opening VBA Excel file
- When filtered data is copied and then pasted into MS Office Excel workbook
- Due to application or object defined error
- 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 2016and 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:
- Go to the Task Manager and stop entire running programs.
- Then go to start menu > and select Control Panel.
- Next, in the Control Panel select Add or Remove Program.
- Here, you will get the list of programs that are currently installed on your PC, and then from the list select Microsoft Work.
- 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:
- Right click on the start menu
- Then select the Explore option
- Then open the following directory – C:\Program Files\MSOffice\Office\XLSTART
- Here you need to delete “GWXL97.XLA” file
- 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.
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.