SetTemplateId Method (ActiveX)

Sets a template using an object ID to the table style.

Supported platforms: Windows only

Signature

VBA:

object.SetTemplateId val, option
object

Type: TableStyle

The object this method applies to.

val

Access: Input-only

Type: Long_PTR

The object ID to a template.

option

Access: Input-only

Type: AcMergeCellStyleOption enum

The merge cell style to use when applying the template.

  • acMergeCellStyleCopyDuplicates
  • acMergeCellStyleConvertDuplicatesToOverrides
  • acMergeCellStyleIgnoreNewStyles
  • acMergeCellStyleNone
  • acMergeCellStyleOverwriteDuplicates

Return Value (RetVal)

No return value.

Remarks

No additional remarks.

Examples

VBA:

Not available

Visual LISP:

Not available