troubleshooting Question

Insert simple macro into word document.

Avatar of Mohonk
MohonkFlag for United States of America asked on
Microsoft Word
5 Comments1 Solution465 ViewsLast Modified:
Is there a way to insert a simple macro into a word document so it can then be run by any user who opens the document? I figured out how to modify the file to contain the macro but not how to make it easily redistributable.

This is the macro. I basically want to be able to run spell check on a protected document.

Sub SpellCheckForm()
' AcceptAllChanges Macro
' Macro created 3/15/2006 by bron
'Sub SCForm()
   Selection.LanguageID = wdEnglishUS
   ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
End Sub
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros