Skip to content

Check for duplicate name in definedNames and other worksheet tables before adding table.

Source code

Description

Check for duplicate name in definedNames and other worksheet tables before adding table.

Usage

add_table(py_obj, table)

Arguments

py_obj py_obj
table table

Value

An openpyxl Python object.

Examples

library("xlcharts")

wb <- Workbook()
ws <- wb$active
tab = Table(displayName="Table1", ref="A1:E5")
ws |> add_table(tab)
ws$tables