+ Reply to Thread
Results 1 to 3 of 3

Automatically resize pasted image - Having trouble with selection

  1. #1
    Registered User
    Join Date
    12-12-2011
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    6

    Question Automatically resize pasted image - Having trouble with selection

    Greetings! I am currently working on a project that requires me to screen capture web pages and then paste the images into a spread sheet, resized to 40% of their original size. Currently I have code in place that allows me to press Control E to resize a selected image. I would like to, instead, have the image automatically paste in at 40%. I don't know how to select the pasted image and resize it using code though, as I'm not sure how to select the image once it's pasted.

    Sub resizeImages()

    Selection.ShapeRange.ScaleWidth 0.63, msoFalse, msoScaleFromTopLeft
    Selection.ShapeRange.ScaleHeight 0.63, msoFalse, msoScaleFromTopLeft

    End Sub
    Your help would be greatly appreciated - I would like to get this up and running today

  2. #2
    Registered User
    Join Date
    12-12-2011
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Automatically resize pasted image - Having trouble with selection

    I am currently using Microsoft Excel 2007

  3. #3
    Registered User
    Join Date
    12-12-2011
    Location
    NY, NY
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Automatically resize pasted image - Having trouble with selection

    Is there anyone who can help me with this?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1