7,785
社区成员




Private Sub vWordApp_WindowSelectionChange(ByVal Sel As Selection)
Dim vWord As Range
For Each vWord In Sel.Words
Debug.Print vWord.Text
Next vWord
End Sub
Option Explicit
Private WithEvents vWordApp As Word.Application
Private Sub InitApp()
Set vWordApp = Application
End Sub
Private Sub vWordApp_WindowSelectionChange(ByVal Sel As Selection)
End Sub