+ Reply to Thread
Results 1 to 8 of 8

Excel 2010 - resize multiple linked images to be the same size

  1. #1
    Forum Contributor
    Join Date
    05-22-2007
    Location
    Laguna Beach, CA
    Posts
    142

    Excel 2010 - resize multiple linked images to be the same size

    I've created several linked pictures and but I can't figure out how to make all of them the same size (they're calendars)....I was able to align them but no luck in resizing them to be the same size.

    Is this possible?

    Thanks.

    Bruce

    P.S. excel 2010, win7 pro

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Excel 2010 - resize multiple linked images to be the same size

    The part of the code highlighted in red should clear out the old data before copying. Put in the part in green and then try it. You will get a box that pops up telling you that this part of the code is running. If that doesn't happen then something else is wrong.

    [cod]
    Sub CopyReport()
    Dim shS As Worksheet ' Source Sheet
    Dim shD As Worksheet ' Destination Sheet
    Dim cl As Range ' Cell pointer for map table
    Dim shp As Shape ' Generic shape

    Dim SSheet As String ' Source Sheet Name
    Dim MyObj As String ' The object (range or chart) to be copied
    Dim MyType As String ' The type of the object (range or chart)
    Dim DSheet As String ' Destination Sheet Name
    Dim MyTop As Double ' Object top
    Dim MyLeft As Double ' Object left
    Dim MyWidth As Double ' Object width
    Dim MyHeight As Double ' Object type

    ' Set the destination sheet
    Set shD = Sheets("Report Sheet")

    Application.ScreenUpdating = False

    msgbox "Copying Report"

    ClearPivot

    ' Clear out destination worksheet
    For Each shp In shD.Shapes
    shp.Delete
    Next


    ' Read Map and copy
    For Each cl In Range("Table_Map[Source Sheet]")
    [/code]
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Excel 2010 - resize multiple linked images to be the same size

    Try this version.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-22-2007
    Location
    Laguna Beach, CA
    Posts
    142

    Re: Excel 2010 - resize multiple linked images to be the same size

    Thanks for responding but I have no idea how these apply to my issue.

    Was your response directed to re-sizing some linked pictures (calendars) or was it meant for someone else.

    Bruce

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Excel 2010 - resize multiple linked images to be the same size

    Yes, this was added to the wrong window. My apologies for the confusion.

  6. #6
    Forum Contributor
    Join Date
    05-22-2007
    Location
    Laguna Beach, CA
    Posts
    142

    Re: Excel 2010 - resize multiple linked images to be the same size

    No problem.

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Excel 2010 - resize multiple linked images to be the same size

    I will make you an offer. If you attach a sample workbook, I can probably help you. I've done this kind of thing before.

  8. #8
    Forum Contributor
    Join Date
    05-22-2007
    Location
    Laguna Beach, CA
    Posts
    142

    Re: Excel 2010 - resize multiple linked images to be the same size

    I appreciate the offer but fortunately, I figured it out last night.

    I didn't realize there was a drop down window under "picture tools" under size.

    The problem was the "aspect ratio" was locked and once that was unchecked I was able to select all pictures and make them the same size.

    Thanks again.

+ 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. Reduce file size of multiple images with excel VBA
    By motmot11 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2021, 10:02 PM
  2. Linked images question. Excel 2010
    By Kevin62 in forum Excel General
    Replies: 0
    Last Post: 08-15-2016, 12:48 PM
  3. behaviour of linked images in excel 2010
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-20-2014, 01:00 PM
  4. Replies: 5
    Last Post: 04-23-2014, 08:17 PM
  5. Automatically resize numerous images to a cell size
    By Ciarmccabe in forum Excel General
    Replies: 0
    Last Post: 12-03-2013, 06:33 PM
  6. Macro to autom. display images from URL, resize picture and move and size with cell
    By AshtonMcFish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-22-2013, 06:38 AM
  7. macro to resize multiple images
    By Blake 7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2012, 12:14 PM

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