I have thsi code and it is perfect insted of picture is it a way that the code is to delete microsoft object and paste microsoft objevt,
but is there a way that insted of picture but
but is there a way that insted of picture but
Rich (BB code):
Sheets("Region").Select
ActiveSheet.Shapes.Range(Array("Group 1a")).Select
Selection.Copy
'Set rng = ThisWorkbook.Sheets("Region").Range("A1:U37")
Set mySlide = oPP.Slides(6)
'Delete picture insted microsoft object
Dim p As Long
For p = mySlide.Shapes.Count To 1 Step -1
Set PPShape = mySlide.Shapes(p)
If PPShape.Type = msoPicture Then PPShape.Delete
Next
'rng.Copy
'mySlide.Shapes.PasteSpecial (ppPastePicture)
mySlide.Shapes.PasteSpecial (ppPasteBitmap) 'insted microsoft object
Set myShapeRange = mySlide.Shapes(mySlide.Shapes.Count)
myShapeRange.LockAspectRatio = msoFalse
myShapeRange.Left = 10
myShapeRange.Top = 60
myShapeRange.Height = 380 '380
myShapeRange.Width = 495 '475
Application.CutCopyMode = False
oPP.Save
oPP.Close