+ Reply to Thread
Results 1 to 5 of 5

I would like to copy Picture in Cell not sheet?

  1. #1
    Registered User
    Join Date
    04-24-2016
    Location
    South Africa
    MS-Off Ver
    Office 10
    Posts
    4

    I would like to copy Picture in Cell not sheet?

    I'm pretty new to Macros and userforms
    I would like to add a picture in a cell (That is loaded from a userform), if possibly re size it so all the pictures are more or less (In Kb) the same size and that they also look uniform (In the cells / Range)
    Then also save an original copy of the picture in a folder so I can reference / call back the original picture in full quality, on a later stage.

    This is what i have so far:

    Please Login or Register  to view this content.
    This code saves picture in the sheet, not in cell

    Any assistance will be greatly appriciated
    Last edited by Venterpj1; 06-19-2016 at 08:39 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: I would like to copy Picture in Cell not sheet?

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here


    *You'd best do this immediately lest the thread be ostracized

    And, welcome to the Forum!

    BTW- where does the pic go? Is there an address that we can get the sizes from?
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    04-24-2016
    Location
    South Africa
    MS-Off Ver
    Office 10
    Posts
    4

    Re: I would like to copy Picture in Cell not sheet?

    Thank you, wasn't aware.

    The pictures are saved locally,
    Currently they are saved in a folder, but i would like to:
    copy picture to the userform (From Google or wherever )
    Rename the Picture
    and save
    one a small picture format in the backup sheet as a quick reference
    and a proper quality in a folder that will be recalled from a later userform (Not yet made)

    Should be saved in below:

    Please Login or Register  to view this content.
    But this doesn't work
    Last edited by Venterpj1; 06-19-2016 at 08:37 PM.

  4. #4
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: I would like to copy Picture in Cell not sheet?

    Welcome to the forum! When you post in other forums, be sure to post links in each. http://www.mrexcel.com/forum/excel-q...not-sheet.html

    When saving the image in the Excel file, and exporting to a BMP file, quality will degrade.

    After setting the pic object, set the pic object's TopLeftCell to anchor it.


    Here are some links that might help.

    'http://www.ozgrid.com/forum/showthread.php?t=157246&p=572181

    'http://www.excelabo.net/excel/userformdiv.php

    'Stephen Bullen, PastePicture(), http://www.oaltd.co.uk/Excel/Default.htm

    'http://www.mrexcel.com/forum/showthread.php?t=562721

    ''http://www.ozgrid.com/forum/showthread.php?t=112996

    Fit a picture to a cell. http://www.vbaexpress.com/forum/show...-in-Excel-2007
    Last edited by Kenneth Hobson; 06-19-2016 at 10:57 PM.

  5. #5
    Registered User
    Join Date
    04-24-2016
    Location
    South Africa
    MS-Off Ver
    Office 10
    Posts
    4

    Re: I would like to copy Picture in Cell not sheet?

    Thank you for the reply,
    But as mentioned I'm pretty new to Macro's and userforms, SO how do you do it?

    "When saving the image in the Excel file, and exporting to a BMP file, quality will degrade.

    After setting the pic object, set the pic object's TopLeftCell to anchor it. "

    Thank you

+ 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. Copy range from a sheet to another sheet, as picture
    By Linky in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2016, 09:27 AM
  2. vba to copy a picture from a hidden sheet and paste in visible sheet?
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-30-2015, 10:21 AM
  3. [SOLVED] Does sheet need to be visible to copy picture from it?
    By thecdnmole in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-28-2014, 11:33 PM
  4. [SOLVED] Copy Template Sheet with Picture to all new sheets
    By guitarsweety in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2014, 11:34 AM
  5. Copy a picture that I click to another sheet.
    By cptcrash in forum Excel General
    Replies: 3
    Last Post: 08-11-2013, 07:09 AM
  6. [SOLVED] VBA to copy picture on click from another sheet not functioning
    By jake.masters in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2012, 10:41 AM
  7. Problem when copy pasting a picture from sheet to sheet
    By leugu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-15-2011, 04:07 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