getReferenceFormula-methods: Querying reference formulas of Excel names

getReferenceFormula-methodsR Documentation

Querying reference formulas of Excel names

Description

Queries the reference formula of an Excel name in a workbook.

Usage

## S4 method for signature 'workbook'
getReferenceFormula(object,name)

Arguments

object

The workbook to use

name

The name to query. This argument is vectorized such that multiple names can be queried with one method call.

Author(s)

Martin Studer
Mirai Solutions GmbH https://mirai-solutions.ch

See Also

workbook, createName, existsName, removeName

Examples

## Not run: 
# mtcars xlsx file from demoFiles subfolder of package XLConnect
demoExcelFile <- system.file("demoFiles/mtcars.xlsx", package = "XLConnect")

# Load workbook
wb <- loadWorkbook(demoExcelFile)

# Query reference formula for name 'mtcars'
print(getReferenceFormula(wb, name = "mtcars"))

## End(Not run)

XLConnect documentation built on Oct. 21, 2022, 9:05 a.m.