DescTools (version 0.99.8.1)

GetNewXL: Create a new Excel Instance

Description

Start a new instance of Excel and return its handle. This is needed to address XL afterwards.

Usage

GetNewXL(visible = TRUE)

Arguments

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

See Also

XLView, XLGetRange, XLGetWorkbook

Examples

Run this code
# Windows-specific example
# get a handle to a new excel instance
xl <- GetNewXL()

Run the code above in your browser using DataCamp Workspace