Excel 2010 báo lỗi run time error 1004 năm 2024
Mẹo nhỏ: Để tìm kiếm chính xác các chia sẻ của f4vnn.com, hãy search trên Google với cú pháp: "Từ khóa" + "f4vnn". (Ví dụ: tắt update windows f4vnn). Tìm kiếm ngay Show
NỘI DUNG (HIGHLIGHTS) Một số người đã phàn nàn về lỗi Run-time error 1004. Ngay từ đầu, lỗi này có thể là một vấn đề lớn, nhưng trên thực tế, nó là một sự phiền nhiễu hơn bất cứ điều gì khác. Nếu bạn không sửa lỗi Run-time error 1004 có thể xảy ra nếu Excel không có quyền truy cập vào Microsoft Visual Basic for Application (VBA) hoặc Macros. Chúng ta nói điều này bởi vì lỗi Run-time error 1004 rất đơn giản để khắc phục. Vâng, chúng tôi hiểu rằng nó làm chậm tiến trình công việc của bạn, nhưng một khi bạn có ý tưởng về cách xoay vòng mọi thứ, bạn sẽ ổn thôi. Bây giờ, phải nói rằng bất kỳ ai gặp phải lỗi này sẽ không có tùy chọn sử dụng các thư viện tài nguyên nhất định. Hơn nữa, có thể có các vấn đề về hiệu suất và sự cố liên tục để làm cho việc sử dụng Excel trở nên khó khăn hơn. Sửa lỗi Run-time error 1004 không thể chạy Macro trong ExcelLỗi Run-time error 1004 trong Excel là gìTừ kinh nghiệm, lỗi xuất hiện chủ yếu khi người dùng cố chạy MS Visual Basic cho ứng dụng Macro. Toàn bộ điều này là một quy trình bảo mật để khóa MS VBA khỏi Excel, nhưng nếu người dùng quyết định cấp cho nó quyền truy cập, thì lỗi Run-time error 1004 sẽ không bao giờ xuất hiện. Thông báo lỗi có thể có nhiều biến thể và chúng là:
Sửa lỗi Run-time error 1004Điều đầu tiên bạn sẽ được yêu cầu ở đây là mở Tùy chọn Excel, rất dễ dàng. Chỉ cần mở Microsoft Excel, sau đó bấm vào File và từ đó, chọn Options. Khi bạn đạt được trong khu vực Options, vui lòng nhấp vào Trusted Center, sau đó chọn Trust Center Settings. Ngay lập tức phần Trust Options sẽ xuất hiện. Từ đó, vui lòng chọn Macro Settings. Cuối cùng, nhấp vào Trust access to the VBA project object model,, sau đó nhấn nút OK . Duyệt vi rútĐể phòng ngừa, bạn cũng có thể muốn quét phần mềm độc hại, do đó hãy chắc chắn kích hoạt trình quét chống phần mềm độc hại của bạn và thực hiện quét thường xuyên để xem có gì bật lên không. Nếu không có gì xảy ra, thì chúng tôi khuyên bạn nên thực hiện quét virus đầy đủ để đảm bảo tất cả đều ổn. Hi vọng với thủ thuật sửa lỗi Run-time error 1004 không thể chạy Macro trong Excel có ích với bạn. Chúc bạn thành công. 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. 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 SizeSometimes, 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:
Uninstall Microsoft WorkYou 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:
Try Deleting GWXL97.Xla FileThe 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:
Change Trust Center SettingsSometimes, 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:
Run Open and Repair ToolThe 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:
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 ExcelStellar 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:
ConclusionNow 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. About The AuthorMonika Dadool Monika Dadool is a Technical content writer at Stellar who writes about QuickBooks, Sage50, MySQL Database, Active Directory, e-mail recovery, Microsoft365, Pattern Recognition, and Machine learning. She loves researching, exploring new technology, and Developing engaging technical blogs that help organizations or Database Administrators fix multiple issues. When she isn’t creating content, she is busy on social media platforms, watching web series, reading books, and searching for food recipes. |