Macros from the internet are blocked by default in Office - Deploy Office | Microsoft Learn
Files centrally located on a network share or trusted website
If you have your users access files from a trusted website or an internal file server, you can do either of the following steps so that macros from those locations aren't blocked.
- Designate the location as a Trusted site
- If the network location is on the intranet, add the location to the Local intranet zone
For example, if users are accessing a network share by using its IP address, macros in those files are blocked unless the file share is in the Trusted sites or the Local intranet zone.
Tip
- To see a list of trusted sites or what's in the Local intranet zone, go to Control Panel > Internet Options > Change security settings on a Windows device.
- To check if an individual file is from a trusted site or local intranet location, see Mark of the Web and zones.
For example, you could add a file server or network share as a trusted site, by adding its FQDN or IP address to the list of trusted sites.

If you want to add URLs that begin with http:// or network shares, clear the Require server verification (https:) for all sites in this zone checkbox.