WhatsThisMode method
Causes the mouse pointer to change to the What's This pointer and prepares the application to display Help on a selected object. This method exists on the Macintosh, but there is no pointer functionality.
Syntax
object.WhatsThisMode
The object placeholder represents an object expression that evaluates to an object in the Applies To list. If object is omitted, the UserForm with the focus is assumed to be object.
Remarks
Executing the WhatsThisMode method places the application in the same state as clicking the What's This button on the title bar. The mouse pointer changes to the What's This pointer. When the user clicks an object, the WhatsThisHelpID property of the clicked object is used to invoke the context-sensitive Help.
Example
The following example changes the mouse pointer to the What's This (question mark) pointer when the user clicks the UserForm. If neither the WhatsThisHelp or the WhatsThisButton property is set to True in the Properties window, the following invocation has no effect.
Private Sub UserForm_Click()
' Turn mouse pointer to What's This question mark.
WhatsThisMode
End Sub
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for