Learn R Programming

DescTools (version 0.99.19)

GetNewPP: Create a New PowerPoint Instance

Description

Start a new instance of PowerPoint and return its handle. A new presentation with one empty slide will be created. The handle is needed for addressing the presentation afterwards. GetCurrPP will look for a running PowerPoint instance and return its handle. NULL is returned if nothing's found.

Usage

GetNewPP(visible = TRUE, template = "Normal")
GetCurrPP()

Arguments

visible
logical, should PowerPoint made visible? Defaults to TRUE.

template
the name of the template to be used for creating a new presentation.

Value

See Also

GetNewXL, GetNewWrd, PpPlot

Examples

Run this code
## Not run:  # Windows-specific example
# # get a handle to a new PowerPoint instance
# # (this will be used further to export R-Objects to PowerPoint)
# pp <- GetNewPP()
# ## End(Not run)

Run the code above in your browser using DataLab