I wrote this code to id format a picture pasted in PowerPoint. However, it just returns that it’s a picture — not the format. I need to know the format of the picture — if it’s a PNG, JPG, etc. — to do correct handling
Dim osh As Shape
Set osh = ActiveWindow.Selection.ShapeRange(1)
MsgBox osh.Type
End Sub
Thanks in advance!