Sounds Property

Microsoft Office Visual Basic

Some of the content in this topic may not be applicable to some languages.

True if the Office Assistant produces the sounds that correspond to animations. Read/write Boolean.

Remarks

The default value is True. The Sounds property corresponds to the Make sounds option under Use the Office Assistant on the Options tab in the Office Assistant dialog box. If a sound card is not installed, this property has no effect.

Example

This example displays and animates the Office Assistant and allows sound.

With Assistant
    .Visible = True
    .On = True
    If Not Sounds Then Sounds = True
    .Animation = msoAnimationGreeting
End With