+ Reply to Thread
Results 1 to 5 of 5

sizing picture same picture in multiple sheets macro clean up

  1. #1
    Registered User
    Join Date
    08-08-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    46

    sizing picture same picture in multiple sheets macro clean up

    Hey all,

    I have a macro to insert my company logo to multiple workbooks and sheets inside those workbooks,
    however, I need to resize the image and the cell height only for a1.
    Automation for the win.

    Below is my code:
    Please Login or Register  to view this content.
    Thanks Martinez77
    Last edited by Leith Ross; 08-09-2013 at 11:42 AM. Reason: Added Cpode Tags

  2. #2
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 2209 64-bit
    Posts
    21,461

    Re: sizing picture same picture in multiple sheets macro clean up

    What is the desired image size and cell height? And do you want the cell height to match the image height?
    Jeff
    | | |?| |?| |?| |?| | |:| | |?| |?|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    08-08-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: sizing picture same picture in multiple sheets macro clean up

    The height would need to be around 150. I actually need the cell height to be a little bit bigger, but that would be included in the 150. If needed I could probably figure out how to start my data on row 2 instead of 1. Just adding a logo for better appeal.

    Thank you very much for an answer. Didn't think anyone knew.
    Martinez

  4. #4
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 2209 64-bit
    Posts
    21,461

    Re: sizing picture same picture in multiple sheets macro clean up

    Try making this mod to your code.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-08-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: sizing picture same picture in multiple sheets macro clean up

    Thanks 6stringjazzer,

    I really appreciate the help and explanation. This is clearly my first macro.

    Martinez

+ 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. [SOLVED] VBA Code/Macro for Sizing A Picture to a Range of Cells
    By Swierchris in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-21-2015, 12:40 AM
  2. [SOLVED] macro: insert picture based on workbook location, not picture root path.
    By NicksDad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2012, 07:47 AM
  3. Insertion of picture by xls formula/ naming the picture with multiple selection crite
    By luckiest man in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2011, 12:11 AM
  4. Sizing a picture based on a value.
    By Neil07979 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-02-2008, 03:48 AM
  5. Excel Picture Sizing
    By Cheeky Monkey in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-13-2005, 07:05 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