Registry information
After you install this update, you can follow these steps to force a recompile of all VBA projects that are opened in Excel 2013.
Important
Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
- Exit all Microsoft Office applications.
-
Start Registry Editor:
- In Windows 10, go to Start, enter regedit in the Search Windows box, and then select regedit.exe in the search results.
- In Windows 7, click Start, type regedit in the Search programs and files text box, and then click regedit.exe in the search results.
- In Windows 8 and Windows 8.1, move your mouse to the upper-right corner, click Search, type regedit in the search text box, and then click regedit.exe in the search results.
Note To start Registry Editor, you have to log on by using a user account that has administrator permissions.
- Locate and then select the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Options
- On the Edit menu, point to New, and then click DWORD Value.
- Type ForceVBALoadFromSource, and then press Enter.
- In the Details pane, right-click ForceVBALoadFromSource, and then click Modify.
-
In the Value data box, type 1, and then click OK.
Note Depends on the size of your VBA projects, you may experience performance issues when you use this option. Therefore, we recommend that you only use this option for security reason to mandate that all VBA solutions are recompiled.
- Exit Registry Editor.
Tip If you want to bypass the above manual steps, you can copy the following text to a file that has the .reg extension and then import it into the Registy:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Options]
"ForceVBALoadFromSource"=dword:00000001
Prerequisites
To apply this update, you must have Microsoft Office 2013 Service Pack 1 installed.
Restart information
You may have to restart the computer after you install this update.