如何得到光标标在 Word.Document 中位置,我们移动光标位置时在Word的任务栏,我们可以看到,第几行,第几列,那么这个值能程序的方法取得吗?
------解决方案--------------------------------------------------------
MsgBox "The selection is on page " & _
Selection.Information(wdActiveEndPageNumber) & "; Column " _
& Selection.Information(wdFirstCharacterColumnNumber) & _
"; Line " _
& Selection.Information(wdFirstCharacterLineNumber)