Home

make "Cancel" as default button

Lorenzo Kim
Valued Contributor

Is there a way to make the Data Validation prompt button (pls see image below) to default at "Cancel" ?

many thanks..

 

 

DVprompt.jpg

4 Replies

Hi Lorenzo,


Do you mean that you want to set the focus (blue shape) on the Cancel button instead of Retry?
If so, there is no option to change it in Data Validation settings!
But you can create a custom data validation solution using a VBA code!

In fact, I've tried to write this code, but it's not perfect!


The simple workaround is to press tab after the message box pops up to move the focus to the Cancel button.

Mr. Amairah

Thank you very much for your reply.

Maybe excel could revise it, so that we user can have a choice.

If you want to abort the dialogue box, simply press the ESC key.

thanks for the reply..

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
12 Replies