I'm using code in LotusScritp to get the word count from a Word document. Briefly, w/o the error stuff it's just
Set application = createobject("Word.Basic.8")
wordCount = Application.GetDocumentProperty("Words")
This works, but the wordCount is not accurate. I see from MS Knowledge Base 159791 that it's more accurate to get from Tools Word count dialog. They suggest.
set wdDTWC = Dialogs(wdDialogToolsWordCount)
dlgwordcount$ = wdDTWC.Words.
This works fine if your in Word and have a document open. But how to you get this value from LotusScript using the application object?
A more general question. Is there a reference somewhere that lists everything you can call from the application object for Word in LotusScript? Most of the stuff I try to do is not available and the commands that do work are usually different than what's in VBA in Word.