none
How can I add a method to the repeat stack (Ctrl+Y) in Word? RRS feed

  • Question

  • Hi

    I am adding methods or part of methods to the undo stack (Ctrl+Z) of Word like this (Octoiur being the name of the Add-In project):

    UndoRecord undoRecord = Globals.Octoiur.Application.UndoRecord; undoRecord.StartCustomRecord("Text shown to the user");
    // some code; undoRecord.EndCustomRecord();

    How can I add "some code" to the repeat stack (Ctrl+Y)?

    This is C# and Word 2010.

    Your help is much appreciated!

    Kind regards

    Nora

    Friday, November 9, 2012 1:51 PM

Answers

  • Hi Nora

    The Redo functionality has not been extended in the same manner as Undo. There is no way you can affect how entries appear in this list.


    Cindy Meister, VSTO/Word MVP, my blog

    • Marked as answer by nora.sailer Monday, November 12, 2012 9:27 AM
    Saturday, November 10, 2012 8:03 AM
    Moderator