Home

Macros and Programming

 

CardboxForumsMacros and Programming > "Speller in Cardbox"

Speller in Cardbox

Use MS Office speller in Cardbox using a macro

Current user: [none]
Register / Log In · Help

Posted By Post

bert

9-Jun-2008 10:10

Hello,

Because the Dutch speller in Cardbox is outdated and a little poor, I decided to make a macro which calls the MS Office spelling. It works perfect! In these situations it works:
- xp prof NL + mso 2003 UK + Dutch language pack
- xp prof NL + mso 2K prof Dutch

However: on some machines it does not work: the speller dialog does not appear. This happens in these configurations:
- xp prof UK + mso 2003 UK + Dutch language pack
- Win2K NL + mso 2003 prof NL

I mail this to Cardbox. On their machines (I do not know their configurations) the macro runs without error messages, but also the speller dialog does not appear.

I am interested in your experience with this macro. How is its behaviour in Vista and MSO 2007 by example?

I do not harm your machine, so you can use it without risk.

Kind Regards
Bert Stortenbeker

The macro:

if ActiveRecord.Userediting = true then
    fld = ActiveField.Name
    Set objWord = CreateObject("Word.Application")
    objWord.Visible = False
    Set objDoc = objWord.Documents.Add()
    objDoc.content = fields(fld)
    objDoc.CheckSpelling
    fields(fld) = objDoc.content
    objDoc.Close(wdDoNotSaveChanges)
    objWord.Quit
    set objDoc = nothing
    set objWord = nothing
end if

Quick Reply

Please log in or register before trying to post a reply.

 
© 2010 Cardbox Software Limited   Home