How do you do things like the following with
Option Strict On
Dim ColSuggestions As Word.SpellingSu ggestions
Dim WordApp As Object = New Word.Applicatio n
Dim WordDoc As New Word.Document
WordDoc = WordApp.Documen ts.Add(Template :="Normal.dot ", NewTemplate:=Fa lse)
....snip
WordDoc.Range.T ext = someText
.....snip
colSuggestions = WordApp.GetSpel lingSuggestions (colSpellErrors .Item(1).Text)
Thanks for any suggestions
Option Strict On
Dim ColSuggestions As Word.SpellingSu ggestions
Dim WordApp As Object = New Word.Applicatio n
Dim WordDoc As New Word.Document
WordDoc = WordApp.Documen ts.Add(Template :="Normal.dot ", NewTemplate:=Fa lse)
....snip
WordDoc.Range.T ext = someText
.....snip
colSuggestions = WordApp.GetSpel lingSuggestions (colSpellErrors .Item(1).Text)
Thanks for any suggestions
Comment