+ Reply to Thread
Results 1 to 3 of 3

Setting the Height and Width of an Image

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Setting the Height and Width of an Image

    Is there a way to set the Height and Width of an image that is copied to certain dimensions.

    I would like my image to be set to a "Height" of 6.07 and "Width" of 8.90.

    I now you can do this manually when you go in Format Picture and resize the image to these dimesions.

    Can this be done with a code?

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Setting the Height and Width of an Image

    Good afternoon NaNaBoo
    Quote Originally Posted by NaNaBoo View Post
    I now you can do this manually when you go in Format Picture and resize the image to these dimesions.

    Can this be done with a code?
    Yes, try recording it with the macro recorder (Tools > Macro > Record New Macro).
    Remember to release the "Lock Aspect Ratio" setting. This is the code that I got (picture needs to be selected) :
    Please Login or Register  to view this content.
    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    03-16-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Setting the Height and Width of an Image

    Thanks for the insight.

    I will try it out.

+ 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