Home > Software engineering >  Word how to determine whether to enable the macro?
Word how to determine whether to enable the macro?

Time:10-02

Please give directions:
I have a word document for many people to use, to achieve this function, if you do not enable macros, then do some hint, MsgBox is ok, if have to enable macros, without notice, this effect is how to set up, or how to write code in word to implement,

CodePudding user response:

In a word should be unable to complete the work,
You can try this: create a new document, write a msgbox in open event, then put the word's macro security to not to open the document again, often after a low status, and see what will find?

If in the word have comm system.addin, by reading the registry, is likely to alert...

CodePudding user response:

You mean only reminder, cannot enforce restrictions, right,
  •  Tags:  
  • VBA
  • Related