
Last chance! 50% off unlimited learning
Sale ends in
Queries the "force formula recalculation" flag on an Excel worksheet.
# S4 method for workbook,character
getForceFormulaRecalculation(object,sheet)
# S4 method for workbook,numeric
getForceFormulaRecalculation(object,sheet)
The workbook
to use
The name or index of the sheet to query. This argument is vectorized such that
multiple sheets can be queried with one method call. If sheet = "*"
, the flag is
queried for all sheets in the workbook
(in the order as returned
by getSheets
).
Thomas Themel
Mirai Solutions GmbH https://mirai-solutions.ch
workbook
, getSheets
,
setForceFormulaRecalculation
if (FALSE) {
# mtcars xlsx file from demoFiles subfolder of package XLConnect
demoExcelFile <- system.file("demoFiles/mtcars.xlsx", package = "XLConnect")
# Load workbook
wb <- loadWorkbook(demoExcelFile)
# Ask whether Excel will automatically recalculate formulas on sheet mtcars
print(getForceFormulaRecalculation(wb, sheet = "mtcars"))
}
Run the code above in your browser using DataLab