CommandButton.MouseIcon Property (Outlook Forms Script)

Returns a String that represents the full path name of a custom icon that is to be assigned to the control. Read-only.

Syntax

expression.MouseIcon

expression A variable that represents a CommandButton object.

Remarks

The MouseIcon property is valid when the MousePointer property is set to 99. The mouse icon of an object is the image that appears when the user moves the mouse across that object.

To assign an image for the mouse pointer, you can either assign a picture to the MouseIcon property or load a picture from a file using the LoadPicture function in Visual Basic Scripting Edition.

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.