我写了这段代码将Outlook光标向右移动5个字:
Option Explicit
Public Sub Example()
Dim Inspector As Outlook.Inspector
Dim wdDoc As Word.Document
Dim Selection As Word.Selection
Set Inspector = Application.ActiveInspector()
Set wdDoc = Inspector.WordEditor
Set Selection = wdDoc.Application.Selection
Selection.MoveRight Unit:=wdCharacter, Count:=5, Extend:=wdMove
Set Inspector = Nothing
Set wdDoc = Nothing
Set Selection = Nothing
End Sub
您是否知道如何在电子邮件正文中的特定单词之后移动鼠标光标?谢谢