J
Jack_Feeman
I seem to have a problem getting the spellchecker in protected form
work-around to co-exist with the macro button return links I have in the VBA.
I can get the spellchecker to work but the macrobuttons do not; when I fix
the macro buttons, the spellchecker no longer works.
I put the spellchecker workaround in Module 1. The model I used is at:
http://word.mvps.org/faq/macrosvba/SpellcheckProtectDocContent.htm
and the macro buttons (located in NewMacros) are a simple:
Selection.GoTo What:=wdGoToBookmark, Name:="Text1"
Selection.Find.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Collapse
I hope I can get these two to behave and respect one another.
Thanks
work-around to co-exist with the macro button return links I have in the VBA.
I can get the spellchecker to work but the macrobuttons do not; when I fix
the macro buttons, the spellchecker no longer works.
I put the spellchecker workaround in Module 1. The model I used is at:
http://word.mvps.org/faq/macrosvba/SpellcheckProtectDocContent.htm
and the macro buttons (located in NewMacros) are a simple:
Selection.GoTo What:=wdGoToBookmark, Name:="Text1"
Selection.Find.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Collapse
I hope I can get these two to behave and respect one another.
Thanks