Table of Contents

XlsFile.RenameCustomTableStyle Method

Renames an existing custom table style. Note that this method won't change the table styles from existing tables from oldName to newName. So after renaming a table style, you should loop in all the tables in the workbook which use that table style, and manually rename their custom table styles too.

Syntax

Namespace: FlexCel.XlsAdapter

public override void RenameCustomTableStyle(String oldName, String newName)

Parameters

<-> Parameter Type Description
oldName String Existing table style. If the old table style name doesn't exist, this method will raise an exception.
newName String New name for the table style. If the new table style already exists, this method will raise an exception.

See also