# Trading Economics Excel Add-In

> Install and set up the Trading Economics Excel Add-in.

Source: https://docs.tradingeconomics.com/excel/excel_desktop_addin/

The Trading Economics Excel Add-In connects Excel to our API which provides direct access to 300.000 economic indicators, exchange rates, stock market indexes, government bond yields and commodity prices. It allows you to download millions of rows of historical data, to query our real-time economic calendar and to subscribe to updates.

![xcel first image](./../images/excel1.jpg)

### Installation

- The Trading Economics Excel Add-In installer can be downloaded here: [Download TE Excel Add-In](https://github.com/tradingeconomics/tradingeconomics/raw/master/Excel/All_Releases/ExcelAddInDeploy_latest.msi).

- Requirements: Microsoft Windows with Excel 2010, 2013 or 2016 and Office 365.

- Note: If Windows shows a warning just click on "More info" and then install.

### Uninstall

- Open the control panel.
- Under programs, click on Uninstall a program.
- Search for Trading Economics Excel Add In
- Right click and click Uninstall

### Login

- After installing the Add-In, open Excel, click the **TE** tab, and then click **Login**. To access data, enter your API key in the **APIkey** menu (see **API Key** below).

- If you do not have an API key yet, visit the [API pricing page](https://tradingeconomics.com/api/pricing.aspx?source=mcp) and subscribe to a plan.

![Excel login](./../images/excel-login.png)

### API Key

- To use this Add-In, you need a Trading Economics API key.

![Excel API key](./../images/excel-api-1.png)

- If you do not have a key yet, subscribe on the [API pricing page](https://tradingeconomics.com/api/pricing.aspx?source=mcp).

- Paste your API key in this menu.

- After changing the API key, click **Save Changes** and then **Login** to refresh permissions.

![Excel permissions](./../images/excel-api-2.png)

### Troubleshooting

Use this section if the add-in installs but the TE tab does not appear, does not load, or formulas behave unexpectedly. The checks are ordered from the most common cause to the least common, so follow them top to bottom.

---

### 1. Verify the installation folder

First, confirm that the Trading Economics folder exists and is complete.

The default location is:

**C:\Users\your-user\AppData\Roaming\TradingEconomics\Trading Economics Excel Add In\**

This folder should contain the core add-in files:

- TE.dll
- TE.dna
- TE32
- TE64.dna
- TE64

After the add-in has been used, you may also see:

- teLogs
- teLogsArchive
- APIKey
- FormulaHistoric

If any of the core files are missing, the installation is incomplete. Reinstall the add-in and verify the folder again before reopening Excel.

![Excel desktop add-in installation folder](./images/troubleshoot-1.png)

---

### 2. Enable the add-in in Excel (TE tab not visible)

If the folder is fine but the **TE** tab does not appear in the Excel ribbon, the add-in is probably not registered. Open **File > Options > Add-ins**. You will need to check two lists in the **Manage:** dropdown at the bottom: **Excel Add-ins** and **COM Add-ins**.

![Excel Add-ins options](./images/troubleshoot-2.png)

#### a. Register the Excel Add-in

1. In **Manage:** choose **Excel Add-ins** and click **Go**.
2. If **TEconomics Add-In** is listed, make sure its checkbox is enabled.
3. If it is not listed, click **Browse...** and navigate to the installation folder:

   **C:\Users\your-user\AppData\Roaming\TradingEconomics\Trading Economics Excel Add In\**

4. Select the file that matches your Excel version:
   - **TE32** if your Office/Excel is **32-bit**.
   - **TE64** if your Office/Excel is **64-bit**.

> **Note:** To check your Office bitness, go to **File > Account > About Excel** and look for "32-bit" or "64-bit" at the top of the dialog.

![Excel Add-in file selection (TE32 or TE64)](./images/troubleshoot-4.png)

#### b. Enable the COM Add-in

1. Back in the Add-ins screen, in **Manage:** choose **COM Add-ins** and click **Go**.
2. Enable the **TEconomics Add-In** checkbox and click **OK**.
3. Confirm that **Load Behavior** shows **Loaded**.

![Excel COM Add-ins list and load behavior](./images/troubleshoot-3.png)

Restart Excel after making these changes.

---

### 3. Check the Trust Center

If the add-in is registered but Excel still blocks it, the Trust Center settings are the next place to look.

#### a. Allow application add-ins

Go to **File > Options > Trust Center > Trust Center Settings** and click **Add-ins** in the sidebar. All three checkboxes should be **unchecked**. In particular, make sure **Disable all Application Add-ins** is not selected, or Excel will block the TE add-in from loading.

![Excel Trust Center Add-ins settings](./images/troubleshoot-5.png)

#### b. Add the install folder as a Trusted Location

1. Still in the Trust Center, click **Trusted Locations** in the sidebar.
2. Click **Add new location...** and browse to the installation folder:

   **C:\Users\your-user\AppData\Roaming\TradingEconomics\Trading Economics Excel Add In\**

3. Check **Subfolders of this location are also trusted**.
4. Click **OK** to confirm, then restart Excel.
5. Re-enable the TE add-in as described above and restart Excel again.

![Excel Trust Center - Trusted Locations](./images/troubleshoot-7.png)

---

### 4. Formulas recalculate automatically on open

If TE formulas refresh every time you open a workbook, the workbook likely has **Force Full Calculation** enabled. To disable it:

1. Open the affected Excel file.
2. Press **ALT + F11** to open the VBA editor.
3. Press **CTRL + G** to open the **Immediate** window at the bottom of the screen.
4. Check the current status by running:

   ```vba
   ?ActiveWorkbook.ForceFullCalculation
   ```

5. If it returns **True**, turn it off by running:

   ```vba
   ActiveWorkbook.ForceFullCalculation = False
   ```

6. Save the workbook to keep the change.
7. Close Excel, reopen the file, and check if the issue persists.

![Excel VBA Immediate window - ForceFullCalculation](./images/troubleshoot-6.png)

---

### Still not working?

If none of the steps above resolve the issue:

- Close all Excel windows and reopen Excel.
- Run the installer again as Administrator.
- Collect the log files inside the **teLogs** folder and share them with the Trading Economics support team.


## Pages in this section

- [Excel Desktop Addin User Guide](https://docs.tradingeconomics.com/excel/excel_desktop_addin/user_guide/index.md): Use the following instructions to learn how to obtain data with the Trading Economics Excel Add-in.
- [Excel Change Log](https://docs.tradingeconomics.com/excel/excel_desktop_addin/change_log/index.md)

