Class TableStyle (PowerPoint VBA)

The class TableStyle represents the current table style.

Set

To use a TableStyle class variable it first needs to be instantiated, for example

Dim tblsty as TableStyle
Set tblsty = ActiveWindow.RangeFromPoint.Table.Style

TableStyle class variables can be set using the Table.Style procedure.

Id

Returns a string that identifies the table style.

Dim strId As String
strId = ActiveWindow.RangeFromPoint.Table.Style.Id

Name

Returns the name of the table style.

Dim strName As String
strName = ActiveWindow.RangeFromPoint.Table.Style.Name