+ Reply to Thread
Results 1 to 5 of 5

Excel 2003 vba get picture as input

  1. #1
    Forum Contributor
    Join Date
    08-19-2010
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    151

    Excel 2003 vba get picture as input

    Hello,

    I have a worksheet in which the user fills some personal details.
    I wish to enable the user attach his photo and save it in my worksheet.
    I was told that it should be saved as cell comment.
    Is it possible to implement this in VBA ?

    Thank you for your help

  2. #2
    Forum Contributor unley's Avatar
    Join Date
    11-27-2008
    Location
    South Australia
    MS-Off Ver
    MS Office 2007
    Posts
    253

    Re: Excel 2003 vba get picture as input

    Giday mate

    Have you tried

    Please Login or Register  to view this content.
    ?

    Cheers
    I'm using MS Office 2013

  3. #3
    Forum Contributor
    Join Date
    08-19-2010
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    151

    Re: Excel 2003 vba get picture as input

    Hello,

    Thank you for the useful link.

    I succeeded uploading image to cell comment.

    I have 3 questions:
    1. How can I verify that the .Comment.Shape.Fill.UserPicture is not empty ?
    2. How can I get the image back into a variable ?
    3. Is it possible to paste the image into cell (not comment) ?

    Thank you for your help
    Last edited by Snoopy2003; 05-24-2011 at 05:46 PM.

  4. #4
    Forum Contributor unley's Avatar
    Join Date
    11-27-2008
    Location
    South Australia
    MS-Off Ver
    MS Office 2007
    Posts
    253

    Re: Excel 2003 vba get picture as input

    Well, I'm not an expert in VBA but you should do some search in this site 'cause this site's the best to find answers.

    Answer for question 1.
    You can create buttons to open all comments to see if any comments have image and another button to close all comments

    Create a button, insert new module in VBA windows and assign this macro to the button
    Please Login or Register  to view this content.
    Assign this macro to second button to close all comments
    Please Login or Register  to view this content.

    Answer to question 3.

    check this site
    Please Login or Register  to view this content.
    Cheers mate

  5. #5
    Forum Contributor
    Join Date
    08-19-2010
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    151

    Re: Excel 2003 vba get picture as input

    Hello,

    Thank you very much for your help and support.
    I will try to use it in my application.

    Thank you for the useful advice

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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