Assistant 属性

       

返回一个 Assistant 对象,该对象代表 Microsoft Office 助手。

expression.Assistant

expression   必需。该表达式返回“应用于”列表中的一个对象。

示例

本示例显示 Office 助手。

Assistant.Visible = True

本示例显示 Office 助手,并将它移至屏幕的左上角。

With Assistant
    .Visible = True
    .Move xLeft:=100, yTop:=100
End With

本示例显示 Office 助手和在气球中的自定义消息。

With Assistant
    .Visible = True
    Set bln = .NewBalloon
    With bln
        .Mode = msoModeAutoDown
        .Text = "Hello"
        .Button = msoButtonSetNone
        .Show
    End With
End With