0

I am looking for an automated way to ungroup a table in power point to create shapes.

I found the following tutorial:

Tutorial

Further, I wanted to record the macro(I am quite new to vba), however in power point 2010 the macro recorder is not available any more. Any suggestions, how to create the above tutorial in vba?

I appreciate your replies!

1 Answer 1

1

Here's an example to get you started. Be sure to select the table you want to work with first.

Sub PasteAndUngroup()
    Dim oSh As Shape
    Dim oSl As Slide

    Set oSh = ActiveWindow.Selection.ShapeRange(1)
    Set oSl = oSh.Parent

    oSh.Copy

    Set oSh = oSl.Shapes.PasteSpecial(ppPasteEnhancedMetafile)(1)

    oSh.Ungroup

End Sub
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.