powered by
Open and save MS-Word documents.
WrdOpenFile(fn, wrd = DescToolsOptions("lastWord")) WrdSaveAs(fn, fileformat = "docx", wrd = DescToolsOptions("lastWord"))
nothing returned
filename and -path for the document.
file format, one out of "doc", "htm", "pdf".
"doc"
"htm"
"pdf"
the pointer to a word instance. Can be a new one, created by GetNewWrd() or an existing one, created by GetCurrWrd(). Default is the last created pointer stored in DescToolsOptions("lastWord").
GetNewWrd()
GetCurrWrd()
DescToolsOptions("lastWord")
Andri Signorell <andri@signorell.net>
if (FALSE) { # Windows-specific example wrd <- GetNewWrd() WrdCaption("A Report") WrdSaveAs(fn="report", fileformat="htm") }
Run the code above in your browser using DataLab