+ Reply to Thread
Results 1 to 4 of 4

Error in code to save image in user form in a specific folder

  1. #1
    Registered User
    Join Date
    11-10-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Version
    Posts
    2

    Error in code to save image in user form in a specific folder

    Hello. I have the following code but it give me error in this line: SavePicture picControl.Picture, path. The purpose of the code is to save the image in an specific folder and export it to a rate of cells. Also, if the are is not image loaded to the userform the code should run. I have tried to modify it but I cannot make it work.
    Please Login or Register  to view this content.
    Thank you.
    Last edited by Pepe Le Mokko; 11-13-2019 at 10:01 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,631

    Re: Error in code to save image in user form in a specific folder

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then 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

    I did it for you this time. Please read forum rules. Thanks

  3. #3
    Registered User
    Join Date
    11-10-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Version
    Posts
    2

    Re: Error in code to save image in user form in a specific folder

    Thank you. I will consider it next time I post a thread.

    Regards.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,631

    Re: Error in code to save image in user form in a specific folder

    Administrative note
    And while you are at it,please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile does not indicate your version.
    Thanks

+ 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. Replies: 6
    Last Post: 12-02-2015, 03:32 PM
  2. Create User Form to Display Specific Worksheets Using VBA Code
    By atulexel79 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-14-2015, 05:05 PM
  3. [SOLVED] VBA code to save workbook as xlsb in specific folder
    By WhupTroy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-07-2015, 05:33 PM
  4. Download image from url and save to folder
    By adtastic in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2015, 05:59 PM
  5. code won't display a selected image from a file picker, in a user form Any ideas?
    By jakeembx in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-09-2014, 02:47 PM
  6. Code that generates a unique save path base on specific user
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2013, 08:54 AM
  7. Using Button on User Form to save Data to specific Cell??
    By DarnTootn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2006, 10:25 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