• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

Tables can't be grouped in PowerPoint. Oh but they can in some situations. Why?

It's always been my understanding that a table cannot be grouped with other objects. But in the back of my mind, I always felt I'd seen cases where it was possible.

So today I received a test deck that has a table grouped with a text box. The sender believes the content is from an old deck. So I went back to PowerPoint 2003 but couldn't group a table with a text box using the PowerPoint UI or VBA.

How is this possible? Are there more than one type of table objects supported in PowerPoint and if so, how can I determine if a table is group able or not using VBA?

The attached file shows the group (rename from .zip to .pptx).

Table-Grouped.zip
0
Jamie Garroch
Asked:
Jamie Garroch
1 Solution
 
JSRWilsonCommented:
They can be grouped if you manually change the XML so noGrp="False"

 <p:nvGraphicFramePr>
          <p:cNvPr id="4" name="Table 3"/>
          <p:cNvGraphicFramePr>
            <a:graphicFrameLocks noGrp="False"/>
          </p:cNvGraphicFramePr>
          <p:nvPr/>
        </p:nvGraphicFramePr>
0
 
Jamie GarrochPowerPoint Consultant & DeveloperAuthor Commented:
Marvellous. So the best way to use VBA to determine if a table can (or cannot) be grouped, is to handle errors when attempting to group a selection that is known to contain one or more tables.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now