CARA MEMBUKA FILE EXCEL YANG DISABLE

Are you having trouble with disabled macros in Excel 2010? Don’t worry, we’ve got you covered. In this article, we will guide you step-by-step on how to open a file with disabled macros in Excel 2010. But first, let’s understand what macros are.

What are Macros in Excel 2010?

Macros are small programs that are recorded in Excel. They are used to automate repetitive tasks and to perform complex operations. Macros can be created using the Visual Basic for Applications (VBA) editor in Excel. When you record a macro, Excel creates a VBA code that can be executed using a shortcut or a button. Macros can be very useful for automating tasks, but they can also be dangerous if they contain malicious code. For this reason, Excel disables macros by default.

How to Open a File with Disabled Macros in Excel 2010?

If you try to open a file with disabled macros in Excel 2010, you will see a warning message that says “Macros have been disabled”. This means that Excel has detected macros in the file and has disabled them for security reasons. To open the file with macros enabled, you need to follow these steps:

  1. Open Excel 2010 and click on “File” in the top left corner.
  2. Select “Options” from the menu.
  3. Click on “Trust Center” in the left pane.
  4. Click on “Trust Center Settings” in the right pane.
  5. Click on “Macro Settings” in the left pane.
  6. Select the “Enable all macros” radio button.
  7. Click on “OK” to close the Trust Center Settings window.
  8. Close Excel and reopen it.
  9. Open the file with disabled macros.
Baca Juga :  Cara Menghitung Potongan Pajak Pph 21 Tanpa Npwp Dalam Excel

Once you have followed these steps, Excel will enable macros for all files. This can be dangerous if you open files from untrusted sources, so make sure that you only enable macros for files that you trust.

How to Open a Password-Protected Excel File?

Have you forgotten the password to your Excel file? Don’t worry, there are several ways to open a password-protected Excel file. Here are two methods:

Method 1: Use a VBA Code

You can use a VBA code to open a password-protected Excel file. Here’s how:

  1. Open Excel and press “Alt + F11” to open the VBA editor.
  2. Click on “Insert” in the top menu and select “Module”.
  3. Paste the following code into the module:

Sub PasswordBreaker()
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 As Integer, i6 As Integer
On Error Resume Next
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If ActiveSheet.ProtectContents = False Then
MsgBox "One usable password is " & Chr(i) & Chr(j) & _
Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
Exit Sub
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
End Sub

  1. Press “F5” to run the code. This will generate a usable password for your Excel file. Note down the password.
  2. Open your Excel file and enter the generated password. You should now be able to access the file.
Baca Juga :  CARA MENGEMBALIKAN FILE YANG SUDAH TERHAPUS DISHEET EXCEL PADA DROPBOX

Method 2: Use an Online Service

You can use an online service to unlock your password-protected Excel file. Here are the steps:

  1. Go to an online service like https://www.decryptum.com/ or https://www.lostpassword.com/.
  2. Upload your password-protected Excel file to the service.
  3. Follow the instructions on the screen to unlock your file.
  4. Download the unlocked file.

Note that online services may charge a fee for unlocking your file.

FAQs

Q1: Can I enable macros for a single Excel file only?

A1: No, you cannot enable macros for a single Excel file only. Enabling macros in Excel applies to all files.

Q2: Can I protect my Excel file from being opened by unauthorized users?

A2: Yes, you can protect your Excel file from being opened by unauthorized users by setting a password. To set a password, click on “File”, select “Info”, click on “Protect Workbook”, and select “Encrypt with Password”. Enter a password and click on “OK”.

Video Tutorial