wdNewDoc: Start a new document (when Word is running).

Description Usage Arguments Author(s) See Also Examples

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

1
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

1
2
3
4
5
6
## Not run: 
wdGet()
wdNewDoc("This.doc")
wdQuit()

## End(Not run)

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