Solved

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

Posted on 2016-07-18
2
75 Views
Last Modified: 2016-07-18
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
Comment
Question by:Jamie Garroch
2 Comments
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
ID: 41716997
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
 
LVL 9

Author Closing Comment

by:Jamie Garroch
ID: 41717007
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background   Certain code in VBA requires initialization, such as application events. The app initialization is often triggered by the Auto_Open sub which is a special procedure that runs when an add-in loads. More significantly, this sub does n…
This video teaches viewers how to add simple and professional themes to their slides.
The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now