wdUndo: Save the active document.

Description Usage Arguments Details Author(s) Examples

Description

Save the active document. If a name is given, it is used for the new document, otherwise Word will ask.

Usage

1
wdUndo(times = 1, wdapp = .R2wd)

Arguments

times

the times argument of the Undo method of the word document

wdapp

The handle to the Word Application (usually not needed).

Details

Saves the active document to the name if given or Word will ask for a name.

Author(s)

Christian Ritter

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
wdGet()
wdTitle("By default, writing a title represents 5 calls to word: Style, type text,
inserting a bookmark, typing a paragraph, and setting the style back to normal")
# we can undo it by invoking the Undo method on the document five times
wdUndo(5)
wdQuit()

## End(Not run)

R2wd documentation built on May 2, 2019, 8:54 a.m.