S
sopasla
I try to check the spelling of a footnote through vba in MS word.
The code is pretty much simple:
Dim fn as Footnote
set fn = ActiveDocument.footnotes.items(0)
fn.Range.checkSpelling
I made a clear mistake in my footnote. However, when I run this code,
MS Word doesn't detect any misspelling error.
When I run it with the Word interface (Tools/Check grammar and
spelling), it finding the mistake.
So is there anybody who knows how to check the footnote spelling
through vba?
Thanks
The code is pretty much simple:
Dim fn as Footnote
set fn = ActiveDocument.footnotes.items(0)
fn.Range.checkSpelling
I made a clear mistake in my footnote. However, when I run this code,
MS Word doesn't detect any misspelling error.
When I run it with the Word interface (Tools/Check grammar and
spelling), it finding the mistake.
So is there anybody who knows how to check the footnote spelling
through vba?
Thanks