Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2005

Tip: Looking for answers? Try searching our database.

Check for Macros using Word 2000?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy - 21 Nov 2005 22:36 GMT
Hi,
Is there any way i can programatically (i.e. using .NET) check a word
document for macros? Obviously it would only be sensible to be able to do
this without allowing the AutoOpen macro to fire in the first place.
We allow uploads of word docs to a web site, but really need to disallow
uploading if they contain macros to be safe from viruses.

If anyone knows a way we can ndo this - using the word 2000 object model (or
any ideas) It would be most appreciated.
Andy
Charles Kenyon - 21 Nov 2005 23:27 GMT
This is what the macro security settings in Word are all about. If you set
your security to medium, you will be asked when opening whether or not to
allow macros to run. You can disable them at that point and delete the
document without any risk that I know about.
Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> Hi,
> Is there any way i can programatically (i.e. using .NET) check a word
[quoted text clipped - 7 lines]
> any ideas) It would be most appreciated.
> Andy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.