pop up message based on press enter if move tab order from button to another

MKLAQ

Board Regular
Joined
Jan 30, 2021
Messages
228
Office Version
  1. 2016
Platform
  1. Windows
hi

is there any code pop up message box when press enter .for instance I have three commandbuttons(copy,search,update) so if the order tab is in button (copy) and press enter then should pop up message " this button is copy, do you want continue? "
if I press ok then complete the procedure like copy data , and if I press no then exit from procedure and when press enter again it will move order tab to next button (search) and so on for rest of buttons .
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

My Aswer Is This

Well-known Member
Joined
Jul 5, 2014
Messages
18,163
Office Version
  1. 2013
Platform
  1. Windows
hi

is there any code pop up message box when press enter .for instance I have three commandbuttons(copy,search,update) so if the order tab is in button (copy) and press enter then should pop up message " this button is copy, do you want continue? "
if I press ok then complete the procedure like copy data , and if I press no then exit from procedure and when press enter again it will move order tab to next button (search) and so on for rest of buttons .
I do not believe this is possible.
Now we can have a Double click procedure.
If you double click on a certain cell a script will run
And if the script had a question you could answer yes or no if you wanted to run the script.
 

MKLAQ

Board Regular
Joined
Jan 30, 2021
Messages
228
Office Version
  1. 2016
Platform
  1. Windows
I hope to can do that on userform
 

Forum statistics

Threads
1,148,160
Messages
5,745,121
Members
423,926
Latest member
Komaua Ubaroro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top