Suresh
Wed Apr 13 11:29:39 CDT 2005
' Following code taken from microsoft example documentation
' Following code gives correct answer "look" on Word 98, but error 9132 on
Word 2003:
Sub DisplaySuggestions()
Dim sugList As SpellingSuggestions
Dim sug As SpellingSuggestion
Dim strSugList As String
Set sugList = GetSpellingSuggestions(Word:="loko",
SuggestionMode:=wdAnagram)
'wdSpellword)
If sugList.Count = 0 Then
MsgBox "No suggestions."
Else
For Each sug In sugList
strSugList = strSugList & vbTab & sug.Name & vbLf
Next sug
MsgBox "The suggestions for this word are: " _
& vbLf & strSugList
End If
End Sub
"Howard Kaikow" <kaikow@standards.com> wrote in message
news:%235M$raBQFHA.3628@TK2MSFTNGP15.phx.gbl...
> Could you post a code snippet that demonstrates the problem?
>
> --
>
http://www.standards.com/; See Howard Kaikow's web site.
> "Suresh Govindachar" <sgovindachar@com.yahoo> wrote in message
> news:GL07e.1605$t85.981@newssvr21.news.prodigy.com...
> >
> > I have tried on word 2003 (11.5604.5606) with no success.
> >
> > --Suresh
> >
> > "Howard Kaikow" <kaikow@standards.com> wrote in message
> > news:%23K6dOXxPFHA.2824@TK2MSFTNGP10.phx.gbl...
> > > The KB article mentions only Word 2000.
> > > The constants are defined in the type library for Word 2003.
> > > Have you tried the code in Word 2003?
> > >
> > > --
> > >
http://www.standards.com/; See Howard Kaikow's web site.
> > > "Suresh Govindachar" <sgovindachar@com.yahoo> wrote in message
> > > news:a5x6e.952$t85.685@newssvr21.news.prodigy.com...
> > > > Hello,
> > > >
> > > > I have successfully used the wdWildcard and wdAnagrams
> > > > constant with the SuggestionMode argument for the
> > > > GetSpellingSuggestions method for Word in Office 98.
> > > >
> > > > But these constants cannot be used with Word 2000
> > > > and Word 2003 (see:
> > > >
http://support.microsoft.com/default.aspx?scid=kb;en-us;224722
> > > > ).
> > > >
> > > > Is there any way I can use the dll and other files from
> > > > Office 98 to beef-up my Word 2003 so that I get support
> > > > for these constants? If so, how?
> > > >
> > > > Thanks,
> > > >
> > > > --Suresh
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>