R/wrdSession.R
withWrd.Rd
Evaluates an expression using a specified Word session as the default.
withWrd(wrd, expr)
A Word COM object.
An expression to evaluate.
The result of the evaluated expression.
if (FALSE) { # \dontrun{ withWrd(newWrd(), { toWrd("Hello") }) } # }