Private 属性

       

本主题中的某些内容可能不适用于某些语言。

返回或设置一个标识“Office 助手”气球(该气球将初始化回调过程)的整数。Long 类型,可读写。

说明

用该属性可在一个以上的气球中调用相同的回调过程。

示例

本示例可实现的功能为:将 Private 属性值设置为 129,以标识“Office 助手”气球。

Set printerOrientation = Assistant.NewBalloon
With printerOrientation     .Heading = " Print portrait or landscape?"
     .Text = "Click OK when you've selected the " & _
        "printer orientation."
    .Labels(1).Text = "Portrait"
    .Labels(2).Text = "Landscape"
    .BalloonType = msoBalloonTypeButtons
    .Mode = msoModeModeless
    .Button = msoButtonSetOK
    .Private = 129
    .Callback = "PortraitOrLandscape "
    .Show
End With