index > Visual Studio Tools for Office > Need to Clear only the Last-Action, from the Undo List

Need to Clear only the Last-Action, from the Undo List


Hi,
Arun Manglick

Hi Arun

Copied from the Word object model Help file:

Undo Method

Undoes the last action or a sequence of actions, which are displayed in the Undo list. Returns True if the actions were successfully undone.

expression.Undo(Times)

expression Required. An expression that returns a Document object.

Times Optional Variant. The number of actions to be undone.




-- Cindy Meister (Word MVP)
Cindy Meister
reply 2

You can use google to search for other answers

 

More Articles

·Excel automation question
·Difficulties running Word Add-ins with VSTO CTP v3
·Accessing Outlook MailItem
·How to Search Outlook Mail Body?
·Redistribute VSTO Problem
·Problems with more than one window with Outlook 2003
·Power Point & VSTO
·Help in writing an Excel equation
·get range from excel sheet of separate columns using c#
·SetSpreadsheetData method with OWC Chart in C#.NET?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

·Outlook Add-in
·Programmtically show / hide xml tags in ¡­
·Office graphs links
·4 Lines C++ Code, How it is working?
·API request; Drag & Drop
·Print an excel file with c# and print pr¡­
·functionalities in Excel Chart
·Getting document name in addin
·Problem with punctuation after a control¡­
·Mark changes in Excel
·ServerDocument - Security exception
·Outllook Addin Deployement Issue
·usersettings & specific path
·Outlook, contact form
·Why can I not call FindControl on a tool¡­

Hot Articles

·Excel errors
·Get the sending XmlNode
·newbie ? Access 2003 Developer Extensions
·How to Read a Date from other sheet in C¡­
·Why does the ContextSwitchDeadlock happe¡­
·How to Associate Custom Data with XMLNod¡­
·Invoke action for all Smart Tags in Word¡­
·vsto 2005 Schma file deployment
·Using DSOFramer Control to create and sa¡­
·Outlook 2007 Ribbon Observations/Questions
·I have 300 + Project Under a single Solu¡­
·Digital signature
·How to Develop InfoPath Application Usin¡­
·Deploying an XML Schema Definition with ¡­
·Prevent creating duplicate calendar items

Recommend Articles

·Smart-tag in Outlook?
·Named Ranges Events in Excel
·Deploying UDFs
·table caption + id
·Range.InsertBreak generates exception
·Adding drop down list control to an Appo¡­
·Developing a custom data connection in E¡­
·XMI - Tool compatibility
·VSTO 2005
·InfoPathNamespace screwed...
·Editing Restriction
·.net application with an excel interface
·Formatting columns in tables
·deploying vsto 2003 excel application
·Deploying TaskPane for Excel 12