Look at your spellcheck demo. local objRangeCorrected = com.method(objApp, "ActiveDocument.Range", 0, iEnd)
is supposed to yield a handle. Instead it currently yields an empty string.
Look at your spellcheck demo. local objRangeCorrected = com.method(objApp, "ActiveDocument.Range", 0, iEnd)
is supposed to yield a handle. Instead it currently yields an empty string.