wdNewDoc {R2wd}R Documentation

Start a new document (when Word is running).

Description

This adds a new document to a running Word Application. If a name is given, the new document is saved under the given name.

Usage

wdNewDoc(name = NULL, wdapp = .R2wd)

Arguments

name the optional name of the file.
wdapp the handle to word (usually not needed)

Author(s)

Christian Ritter

See Also

wdGet

Examples

## Not run: 
wdGet()
wdNewDoc("This.doc")
wdQuit()
## End(Not run)

[Package R2wd version 1.1 Index]