The information in this article applies to:
SYMPTOMS
If you run a Visual Basic for Applications macro that displays a custom
Microsoft Office Assistant balloon, the following problems may occur:
CAUSE
These problems may occur when the following conditions are true:
-and- -and- WORKAROUND
To prevent these problems from occurring, do the following:
NOTE: You can dismiss the Office Assistant window by clicking the Close box in the upper-left corner of the Office Assistant window while the custom Office Assistant balloon is displayed. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.aspIn the Office 98 programs, you can create and display custom Office Assistant balloons. To do this, use Visual Basic for Applications macros that are similar to the following examples:
When you run the BalloonTest Sub procedure, the Office Assistant window
appears and displays the custom balloon. When you click OK in the balloon,
the Goodbye Sub procedure runs and displays a message box. When you dismiss
the message box, the Office Assistant balloon disappears. This behavior is
correct.
If you set the Callback property so that it refers to a misspelled macro name or an incorrect location, the problem described in this article occurs. NOTE: In Microsoft Word 98 and Microsoft PowerPoint 98, if you set the Callback property to refer to a macro that exists in another module, you must specify the module name before the macro name. For example, if you move the macro Goodbye to Module3, change the code to the following:
If you do not specify the module name, the problem occurs when you display
the custom Office Assistant balloon. In Microsoft Excel 98, this is not
required if the macro exists in the same workbook.
REFERENCES
For more information about customizing the Office Assistant, from the
Visual Basic Editor, click the Office Assistant, type Office Assistant,
click Search, and then click to view "Overview of the Office Assistant."
Q176476 OFF: Office Assistant Not Answering Visual Basic Questions Additional query words: OFF98 XL98 WORD98 PPT98 go away disappear vanish xlvbahowto
Keywords : kbcode kbprg kbdta kbdtacode OffVBA |
Last Reviewed: November 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |