Office Settings & Configuration

How to Enable Microsoft Access Macros from a Remote Server

Kushani NimanthikaKushani Nimanthika Oct 26, 2026 868 views

Question details

The user needs to enable macros in Microsoft Access when opening a database stored on a remote server or accessed over a VPN.

How to Enable Microsoft Access Macros from a Remote Server
Product
Microsoft Access
Device & OS
not provided
Scenario
Accessing a server-hosted database over a VPN or network drive where security settings block macro execution by default.
Observed behavior
Microsoft Access blocks macros from running because the remote server folder is not recognized as a trusted location over the network.
Before you start

Ensure you have the exact network path to your remote server folder and verify that your VPN connection is stable before modifying the Trust Center settings.

Solution 1Recommended

Configure Network Trusted Locations in Access

This is the primary method to unblock macros for files hosted on a remote server by explicitly telling Access to trust the network path.

1
Open Access Options

Open Microsoft Access, click on the File menu in the top-left corner, and select Options at the bottom of the sidebar.

2
Navigate to Trust Center Settings

In the Access Options window, click on Trust Center in the left pane, then click the Trust Center Settings button on the right.

3
Enable Network Trusted Locations

Select Trusted Locations from the left menu. Check the box at the bottom that says 'Allow Trusted Locations on my network (not recommended)'.

4
Add the Server Folder

Click 'Add new location...', enter your remote server folder path, check 'Subfolders of this location are also trusted' if necessary, and click OK to save your changes.

Configure Network Trusted Locations in Access
Security Note: Only add network locations that you absolutely trust. Enabling macros from unverified network paths can expose your computer to security risks.
Free Microsoft Office alternative

Looking for a Free and Lightweight Office Suite?

While WPS Office does not include a database management tool like Microsoft Access, it offers a highly compatible, free alternative for all your Word, Excel, and PowerPoint needs. Experience a seamless transition with a familiar interface and excellent performance.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button to get the latest version.
  2. 2. Install the Software: Run the downloaded executable file and follow the simple on-screen instructions to install the suite.
  3. 3. Open Your Files: Launch WPS Office and seamlessly open your existing Microsoft Office documents, spreadsheets, and presentations without losing formatting.
Highly compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Lightweight design that runs smoothly on standard PCs without heavy resource usage.Familiar user interface with built-in PDF editing capabilities.Free to download and use for your daily document, spreadsheet, and presentation needs.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Access block macros on a network drive by default?

Microsoft Access blocks macros on network drives by default as a security measure to prevent potentially malicious code from running automatically when opening files from external, shared, or untrusted sources.

What should I do if my VPN connection causes the database to perform slowly?

If your database is slow over a VPN, it is highly recommended to split the database. Keep the back end (data) on the server and distribute the front end (forms and macros) to each user's local computer. Alternatively, use Remote Desktop.

Can I trust all network locations in Microsoft Access?

No. You should only add specific, secure network folders to your Trusted Locations. Enabling 'Allow Trusted Locations on my network' carries security risks, so ensure the server is fully managed and secured by your IT department.