Results 1 to 2 of 2

Thread: Resize Shape from Excel before pasting it in PP

  1. #1
    VBAX Newbie
    Joined
    Nov 2013
    Posts
    2
    Location

    Resize Shape from Excel before pasting it in PP

    Hello,

    I'm copying a range in excel, and want to paste it into powerpoint. The size is to big, and it cuts of of some of the columns. So I want to resize it, but I need to do it before pasting it in. Does anyone know how to do that?

    Here is my code:

    Sheets("Key Projects").Select
    Range("B2:Q31").Select
    Selection.Copy
    activeSlide.Shapes.PasteSpecial(DataType:=ppPasteMetafilePicture).Select

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,096
    Location
    AFAIK not before you paste but when you paste is OK.

    With activeslide.Shapes.PasteSpecial(ppPasteMetafilePicture)
    .LockAspectRatio = True
    .Left = 0
    .Top = 0
    .Width = 100
    End With
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •