Learn R Programming

XLConnect (version 1.1.0)

getReferenceCoordinates-methods: Querying the coordinates of the range reference by an Excel name

Description

(DEPRECATED) Queries the coordinates of an Excel named range in a workbook.

Usage

# S4 method for workbook
getReferenceCoordinates(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

Thomas Themel
Mirai Solutions GmbH https://mirai-solutions.ch

See Also

workbook, createName, existsName, removeName, getReferenceFormula

Examples

Run this code
if (FALSE) {
# mtcars xlsx file from demoFiles subfolder of package XLConnect
demoExcelFile <- system.file("demoFiles/mtcars.xlsx", package = "XLConnect")

# Load workbook
wb <- loadWorkbook(demoExcelFile)

# Query reference coordinate for name 'mtcars'
print(getReferenceCoordinatesForName(wb, name = "mtcars"))
}

Run the code above in your browser using DataLab