Custom UI Editor - QAT Undo Button Question

lnagel

Board Regular
Joined
May 28, 2018
Messages
117
I have the following XML Code to present the user with UNDO & REDO QAT Options in my workbook

The commands and buttons do work - However I am only able to UNDO (or REDO) 1 level back - I was hoping to get several UNDOs if needed

Not sure how many are provided in standard Excel Ribbon but I know it is more than 1

Any help would be appreciated

HTML:
<commands>
    <command idMso="QuickAccessToolbarCustomization" enabled= "false" />
    <command idMso="Application.OptionsDialog" enabled= "false" />
     </commands>

  <ribbon startFromScratch="true">
     <qat>
         <sharedControls>
            <control idMso="Undo" />
            <control idMso="Redo" />
         </sharedControls>
     </qat>

<ribbon startfromscratch="true">
<qat>
<sharedcontrols>
<control idmso="Undo">
<control idmso="Redo">
</control></control></sharedcontrols>
</qat></ribbon>
 
Last edited:

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
It works fine for me (the Undo button is the Undo button, nothing to alter there). I suspect you have something else interfering, such as running code that clears the undo stack.
 
Upvote 0
It works fine for me (the Undo button is the Undo button, nothing to alter there). I suspect you have something else interfering, such as running code that clears the undo stack.

Thanks Rory - Just knowing that it DOES work for someone else helps a bunch!
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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
Back
Top