CommandButton.CursorOnHover Property (Access)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Gets or sets the type of mouse cursor displayed when the user rests the pointer on a button. Read/write AcCursorOnHover.

expression .CursorOnHover

expression A variable that represents a CommandButton object.

Setting the CursorOnHover property to acCursorOnHoverHyperlinkHand can be useful when a button's BackStyle property is set to Transparent.