Share via

Default Button Selection

Anonymous
2019-12-05T13:05:13+00:00

I just recently got another laptop and downloaded Office 365 via my subscription. I have several workbooks in excel that would automatically place my cursor at the default button i.e. vbOk in msgbox on my old laptop. It doesn't do it now with this laptop and this version of excel I have searched all the options but have found no place to change how to accomplish this. Can someone tell me how to make my cursor move to the default button in msgbox. The code is written as follows:

     Ask = msgbox("Save & Exit", vbYesNoCancel)

It used to place my cursor on the Yes button on my old laptop but does not on this one.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. DaveM121 869K Reputation points Independent Advisor
    2019-12-05T13:09:26+00:00

    Hi JMiller1958

    Open the old Control Panel (click your Start Button, then just type control and hit Enter)

    At the top right of Control Panel, make sure View is set to icons

    Open the Mouse applet

    On the resulting dialog, choose the 'Pointer Options' tab

    On that tab, you can set your mouse cursor to move to the default button . . .

    .

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2019-12-05T13:47:54+00:00

    The old Control Panel has no selection that you mentioned.  However, the Mouse Applet did and it fixed my problem nicely. So, thank you for your timely help.

    0 comments No comments