Auto enable macro on a different computer? Concerned if won't work on other computers.

winds

Board Regular
Joined
Mar 9, 2022
Messages
70
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
I would like to send a document with macro to other computers, with the ability so that when the other computer opens the document with the macro, it will be auto enabled. Is there any way to get to this work without having to tweak the macro settings firsthand in the other computer(s)?

Doing a google search came up with this.
  1. In Excel, click on the File tab and select “options”.
  2. In the “Excel options” dialog box, click “trust center settings” in the “trust center” option.
  3. From the “macro settings,” select the extent of permission to be granted.
  4. In the “ActiveX settings” option (under “trust center settings”), select “enable all controls without restrictions and without prompting”.
  5. Create a GPO and check the settings under Word Options, Security, Trust Center2.
I have not been able to test it properly, so I am still speculating. Is this the way to go about it or there is a better way?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
You are better off forcing people to enable macros when prompted, on opening your workbook. Have the workbook show a single tab with a message of "Macros must be enabled for this workbook.", and have the Workbook_Open event unhide the normally showing tabs and hiding the notification tab.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,182
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top