+ Reply to Thread
Results 1 to 5 of 5

Cannot Get Image To Center

  1. #1
    Forum Contributor
    Join Date
    04-09-2020
    Location
    swarthmore, pa
    MS-Off Ver
    365
    Posts
    100

    Cannot Get Image To Center

    Hi.
    I have the following code, which works and allows me to select the picture, but i cannot get it to center the picture within the range.
    Any help would be very appreciated.

    Please Login or Register  to view this content.
    Last edited by jeffreybrown; 11-05-2021 at 06:22 PM. Reason: Updated code tags

  2. #2
    Registered User
    Join Date
    11-16-2016
    Location
    NC
    MS-Off Ver
    2007, 2019
    Posts
    78

    Re: Cannot Get Image To Center

    Untested here. Will need some code editing I am certain.

    Please Login or Register  to view this content.
    Last edited by J.Green; 11-05-2021 at 05:56 PM.

  3. #3
    Forum Contributor
    Join Date
    04-09-2020
    Location
    swarthmore, pa
    MS-Off Ver
    365
    Posts
    100

    Re: Cannot Get Image To Center

    Am I adding this to the existing code? Replacing some existing code with it? I have tried variations with no success. Thanks in advance for any time you're willing to spend helping me.
    Last edited by jeffreybrown; 11-08-2021 at 07:08 PM. Reason: Removed quote

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    4,690

    Re: Cannot Get Image To Center

    If you insert
    Please Login or Register  to view this content.
    after
    Please Login or Register  to view this content.
    does that help?

  5. #5
    Registered User
    Join Date
    11-16-2016
    Location
    NC
    MS-Off Ver
    2007, 2019
    Posts
    78

    Re: Cannot Get Image To Center

    Try this :


    Please Login or Register  to view this content.

+ 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] Copy image from UserForm to worksheet and center it + keep aspect ratio
    By Menohavename in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-10-2020, 05:04 AM
  2. Resize and Center inserted image
    By Larsje86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2018, 09:42 AM
  3. [SOLVED] Using a Userform to Browse image file then paste selected image to sheet?
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-05-2015, 05:42 PM
  4. Problem with image File Link in Cell not opening image for preview
    By Orada in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2015, 09:33 AM
  5. sending mail in outlook with image in Top center of body .
    By yogananda.muthaiah in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-25-2012, 05:06 PM
  6. Center Align Image
    By shapper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2008, 04:52 AM
  7. Replies: 1
    Last Post: 03-29-2005, 08:06 AM

Tags for this Thread

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