To add a Microsoft VBA add-in, you load the add-in file (.xlam, .xla, .xll, or .dll) through the host application's add-in manager, or you place the file in the correct startup folder so it loads automatically. The exact menu path depends on the Office app: in Excel, for example, it is File > Options > Add-ins > Manage Excel Add-ins > Go, then Browse to the file. The steps below cover the common desktop route in Excel and Word, plus the folder method that works when you want the add-in available every time.

This guide is for Microsoft 365 desktop apps on Windows and Mac. Menu labels can differ slightly by version, device, and region, so if a label does not match exactly, look for the closest equivalent in the same area.

What You'll Need

  • A desktop version of Excel or Word (Microsoft 365, Office 2019, or later). The browser versions do not load VBA add-ins.
  • The add-in file itself, obtained from a trusted source. For .xlam or .xla files, the extension must match the host app.
  • Macro security settings that allow the add-in to run. If macros are disabled entirely, the add-in may load but do nothing.
  • Administrator rights on the PC if you plan to install for all users, or if your organization blocks add-in installation.

Step-by-Step

  1. Save the add-in file to a folder you control, such as Documents\AddIns. Do not run it from a Downloads folder or a network drive that may disconnect.
  2. Open the host application (Excel for .xlam/.xla, Word for .dotm/.dot, or the app named by the add-in's documentation).
  3. Go to File > Options. On Mac, use the application menu > Preferences.
  4. Select Add-ins in the left pane. At the bottom, find the Manage drop-down. Choose Excel Add-ins (or Word Add-ins, depending on the app) and click Go.
  5. In the Add-ins dialog, click Browse. Navigate to your saved file, select it, and click OK. The add-in now appears in the list with a check box.
  6. Make sure the check box next to the add-in is ticked, then click OK. The add-in is now loaded for the current session and will load in future sessions.
  7. Confirm it is working. Look for a new tab or button on the ribbon, or run a macro the add-in provides through Developer > Macros. If the add-in has no visible UI, check its documentation for the macro name to run.
  8. For automatic loading without the dialog, close the app and copy the add-in file into the startup folder. In Excel on Windows, that is typically %APPDATA%\Microsoft\AddIns. On Mac, it is the user's Library/Group Containers folder for the Office app. The exact path varies by version, so use the path shown in the Add-ins dialog if available, or check the app's help page.
  9. Reopen the app and verify the add-in loaded. If it did not, return to File > Options > Add-ins and confirm the check box is still ticked.

Common Mistakes

  • Downloading an add-in from an unofficial source. Only use files from the vendor or your organization's IT team. Macro-enabled files can carry malicious code.
  • Using the wrong file type. An .xlam will not load in Word, and a .dotm will not load in Excel.
  • Leaving the file in a temporary folder. If the file moves or is deleted, the add-in breaks on next launch.
  • Forgetting to tick the check box. Browsing to the file adds it to the list but does not enable it until the box is checked.
  • Assuming the browser version supports add-ins. It does not; use the desktop app.
  • Ignoring macro security prompts. If the Trust Center blocks macros, the add-in may appear installed but fail silently.

Tips

  • Keep a copy of the original add-in file in a backup folder before installing, so you can restore it if an update goes wrong.
  • Name the file clearly and avoid spaces or special characters in the path; some add-ins fail to load from paths with unusual characters.
  • If you use multiple Office apps, check whether the add-in is designed for one host only. Many VBA add-ins are Excel-specific.
  • After installing, test one macro from the add-in before relying on it in real work.
  • If your organization manages Office add-ins centrally, local installation may be blocked; ask IT before troubleshooting further.

Troubleshooting

If the add-in does not appear after installation, first restart the app. Then return to File > Options > Add-ins, choose the correct manage type, and confirm the check box is ticked. If it is ticked but nothing happens, open the Trust Center (File > Options > Trust Center > Trust Center Settings > Macro Settings) and check that macros are not fully disabled. Do not lower security settings globally just to make one add-in work; instead, ask the add-in's vendor or your IT team for the correct trusted location.

If the add-in loads but a button is missing, the add-in may add its UI only when a specific workbook is open, or it may rely on a macro the user must run manually. Check the vendor's instructions. If you see a security warning about disabled macros, enable macros for that session only if you trust the file.

If the add-in worked before and stopped, check whether the file was moved, renamed, or updated. Re-browse to the current file location. If you recently changed Office versions, reinstall the add-in using the same steps. As a last resort, remove the add-in from the list, restart the app, and add it again. Removing an add-in does not delete your data, but any custom settings stored by the add-in may be lost, so note them first.

If you cannot find the Add-ins option at all, you may be in a browser version or a restricted account. Use the desktop app and confirm with your administrator that add-in installation is allowed.

Frequently Asked Questions

Can I install a VBA add-in in Excel for the web?

No. The browser version does not load VBA add-ins. Use the desktop app.

What file types can I add?

Common types are .xlam and .xla for Excel, .dotm and .dot for Word, and .xll or .dll for compiled add-ins. The type must match the host app.

Does adding an add-in change my existing workbooks?

No. The add-in loads alongside your files. It can add commands or functions, but it does not modify your saved workbooks unless you run a macro that does so.

How do I remove an add-in?

Open File > Options > Add-ins, choose the correct manage type, click Go, clear the check box, and click OK. You can also delete the file from the startup folder to stop automatic loading.

Why does the add-in ask about macros every time?

Macro security settings may be prompting you. Check the Trust Center settings and, if the file is trusted, ask your administrator about adding its folder as a trusted location rather than disabling protections.

Can I use the same add-in on Windows and Mac?

Only if the vendor says so. Some VBA add-ins rely on Windows-only components and will not run on Mac. Check the vendor's documentation before installing.