Using Modeless Balloons

The balloons we have seen so far are modal, meaning that the user cannot continue working in the application until the balloon is closed. You can also create modeless balloons, which remain displayed while the user continues working. Modeless balloons can be used, for example, to display instructions for the user to follow.

To create a modeless balloon, set its Mode property to msoModeModeless. You must also display at least one button, provide the name of a procedure to call when the balloon is closed, and supply a unique identifier for the balloon's Private property. This property will identify the balloon should the same callback procedure be used for more than one balloon.

The callback procedure must be written to ...

Get Office® XP Development with VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.