Microsoft
Software
Hardware
Network
Question : Microsoft Word Macro Automatic Enable
I there guys, I have a work document with some database stuff going inside. I had a website which links to these documents.
Whenever person opens it , it opens in a Word document, but whenever you click on it, it ask the question below
This document contains macros. Some Macros may contains harmuful virues.
If you are sure this document are from some trusted source then click Yes. If you are not sure and want to prevent any macro running, clikc No
and then I have three options YES, NO or CANCEL.
What I want to do is that I don't want word to ask for this question and automatically enables the macros to yes whenever it opens.
I don't want to go into settings of my Microsoft word to do this as This is being used by 100 people and I don't want everyone to go into there settings and stuff. I want something in VBA to accomplish this.
Is there any way to overcome this message box and make it automatically Enable whenever someone opens the document.
Thanks in Advance
Mohit
Answer : Microsoft Word Macro Automatic Enable
In Word 97, this will do it:
Write a macro containing this:
With Options
.VirusProtection = False
End With
HTH
Joanne
Random Solutions
Services Crashing Multiple Times Per Day: wuauserv, bits, browser, trkwks, dmserver, seclogon, lanmanserver, audiosrv, sharedaccess, wzcsvc, and lanmanworkstation
Renaming Multiple files through the use of a batch file
Can't open certain .JPG images, but other open just fine.
Outlook 2003 hangs ... white window ... not responding when opening Word/Excel attachments
Lost Context Menu Option "Pin To Start Menu"
Windows Command line popup alerts
Need help with viewing my .pst file emails - MS Outlook 2003 setup incorrectly and refuses to open normally.
Reformatted PC needs drivers
Outlook 2003 calendar invitations get bounce back
Undeliverable: You are not allowed to send b/c...sending behalf of another sender without permission.