![]() |
|
#1
|
|||
|
|||
![]()
You can convert a selected shape to a frreform using the executemso method but I suspect this isn't really what you are trying to do so I have also added code to (I think) duplicate what your code does.
[CODE]Sub ConvertFF() If ActiveWindow.Selection.Type <> ppSelectionShapes Then Exit Sub Application.CommandBars.ExecuteMso ("ShapeConvertToFreeform") End Sub[CODE] Code:
Sub ungroupEMF() Dim oshp As Shape Dim oshpR As ShapeRange Dim osld As Slide On Error Resume Next If ActiveWindow.Selection.Type <> ppSelectionShapes Then Exit Sub Set osld = ActiveWindow.View.Slide Set oshp = ActiveWindow.Selection.ShapeRange(1) oshp.Copy osld.Shapes.PasteSpecial(ppPasteEnhancedMetafile).Select With ActiveWindow.Selection.ShapeRange .Left = oshp.Left .Top = oshp.Top oshp.Delete .Ungroup.Select .Ungroup.Select End With End Sub |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert .ost to .pst | phoy | Outlook | 1 | 12-03-2011 07:07 PM |
How do you convert to .MOV? | pmr8888 | PowerPoint | 0 | 11-30-2011 04:32 PM |
![]() |
Hinmini | PowerPoint | 1 | 10-28-2011 07:38 PM |
![]() |
gonner | Outlook | 1 | 10-28-2011 06:25 PM |
convert | golden039 | Word | 0 | 08-16-2009 05:48 PM |