Results 1 to 3 of 3

Thread: GUID to specify table Medium Style 2 Accent 6

  1. #1

    GUID to specify table Medium Style 2 Accent 6

    I am generating PowerPoint multiple slides using VBA, and each slide features an identical table. However, I want to alternate visual appearance on every other slide to help distinguish “odd” and “even” slides for the presenter.
    My searches into standards for styles within tables under DrawingML have discovered some pertinent information.
    The following GUID when applied as </tblStyle> produces “Medium Style 2 – Accent 1”

    Similarly, this GUID when applied as </tblStyle> produces “Medium Style 2 – Accent 3”

    I am trying to determine the GUID required to produce “Medium Style 2 – Accent 6”

    My goal is to add this ID to a VBA line:
    Selection.ShapeRange.Table.ApplyStyle (“{+ + + + + insert GUID + + + + +}”), True

    Can anyone enlighten me? Many thanks in advance.

  2. #2
    VBAX Master
    Feb 2007
    I believe it would be


    To get the ID for a selected table

    Debug.Print ActiveWindow.Selection.ShapeRange(1).Table.Style.Id
    Debug.Print ActiveWindow.Selection.ShapeRange(1).Table.Style.Name
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials

  3. #3
    John: Well it turns out you believe correctly!

    It worked out perfectly and achieved just what I wanted. Thanks for your benevolent input! Indeed you were a most valuable person for my tiny project.

    Many thanks again,


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts