General information
Category:
COM/DCOM and OLE Automation
>Is there a way to retrieve the collection returned by Word.GetSpellingSuggestions("some-word") method?
You need to traverse the collection and grab the data. My Advisor Answers piece in the July issue was about this. The key code you need is:
oSuggestions = oWord.GetSpellingSuggestions("whatever")
FOR EACH oSuggestion in oSuggestions
* oSuggestion.Name contains this suggested spelling.
ENDFOR
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only