![]() |
#1
|
|||
|
|||
![]() When document is opened it is asking to enable the macros. Without doing the manual setting (> options > security > macros > enable) how to enable macro automatically. This is one of our project requirement . I know this is there for security reason, is there any options to do the same. |
#2
|
||||
|
||||
![]()
It is not possible to change that setting programmatically. If it were, virus/malware writers would have a field day.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
![]()
You can set a folder as a trusted location so that files with macros contained in that folder are automatically trusted. Typically, you set the templates folder to be a trusted location and ensure the macros are saved in templates, not documents.
See https://support.office.com/en-us/art...3-4e7c67147fb4
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
![]() |
Tags |
vb script, vba code, word 16 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
CrossReach | Word VBA | 4 | 11-14-2017 12:51 PM |
![]() |
BJH | Word VBA | 9 | 12-08-2016 05:11 AM |
![]() |
laurieli | Office | 7 | 01-17-2016 08:56 AM |
How to automatically enable macros upon opening the Word? | laurieli | Word VBA | 2 | 12-22-2015 02:46 PM |
![]() |
mechalloy | Word | 10 | 08-25-2012 10:35 AM |