+ Reply to Thread
Results 1 to 3 of 3

VBA to insert a photo into merged cells or shape and compress image size

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    45

    VBA to insert a photo into merged cells or shape and compress image size

    I am using the current page in a report. It is working fine for now but, one of the issues is sending the file through email. When 4 photos are inserted in the frame, they shrink to fit the frame. Is there a way to have the VBA to resize them to make the file size smaller.

    Thanks

    Photos.xls

  2. #2
    Registered User
    Join Date
    03-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: VBA to insert a photo into merged cells or shape and compress image size

    No one? The photos don't necessarily need to fit a frame, it can fit to merged cells if that helps.

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: VBA to insert a photo into merged cells or shape and compress image size

    with UserPicture you have to resize photos before importing
    with AddPicture method you can import image, resize it, then place in position
    see attached sample
    Attached Files Attached Files
    Last edited by patel45; 07-25-2014 at 05:56 AM.
    If solved remember to mark Thread as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. automatically fit an image into merged cells
    By dave in forum Excel General
    Replies: 3
    Last Post: 11-18-2014, 06:26 AM
  2. inserting image to cell/merged cells as background fixed to cell's size.
    By _Rapier_ in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-18-2014, 02:17 PM
  3. [SOLVED] Use a button to control a macro that inserts an image into a shape or resets the shape
    By nwb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-13-2013, 04:41 PM
  4. Insert image with move and size with cells
    By CocoriCoy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2012, 12:41 PM
  5. Access the compress image function in word
    By 123Ydee in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2009, 04:24 AM

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