+ Reply to Thread
Results 1 to 5 of 5

Clear image code for form

  1. #1
    Registered User
    Join Date
    09-06-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    69

    Clear image code for form

    Hello,

    Can someone help me with code to get the 'Clear' button to clear the image that appears when an employee is selected:

    I have managed to get all the other comboboxes and texboxes to clear with the exception of the employee image.

    My form is attached

    Form.zip

    Much appreciated

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Clear image code for form

    Hi,

    Try the following code line to display a BLANK Picture:
    Please Login or Register  to view this content.
    Lewis

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Clear image code for form

    For your ResetForm code you need only add
    Please Login or Register  to view this content.
    to the Select Case statement block.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Registered User
    Join Date
    09-06-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    69

    Re: Clear image code for form

    Quote Originally Posted by LJMetzger View Post
    Hi,

    Try the following code line to display a BLANK Picture:
    Please Login or Register  to view this content.
    Lewis
    Thank you so much! Sorry for the delayed response to the thread too

  5. #5
    Registered User
    Join Date
    09-06-2016
    Location
    UK
    MS-Off Ver
    2016
    Posts
    69

    Re: Clear image code for form

    Quote Originally Posted by xlnitwit View Post
    For your ResetForm code you need only add
    Please Login or Register  to view this content.
    to the Select Case statement block.
    Thank you too, xlnitwit!!

+ 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] Rest button to clear a changing image (which is dependent on a drop down selection)
    By excelconditional in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2017, 01:09 AM
  2. Search box code - Will display an image and clear to remove image
    By mutzie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2016, 11:10 AM
  3. 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
  4. [SOLVED] Macro to clear picture from AxtiveX Image
    By mgalterio in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-05-2012, 12:24 PM
  5. [SOLVED] Clear image and text when no items in listbox
    By zplugger in forum Excel General
    Replies: 4
    Last Post: 09-05-2012, 02:50 PM
  6. Code for a Clear Form Button
    By Sep280 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2008, 03:30 PM
  7. VBA to display image on a form - image is defined in Range Name
    By Tan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2006, 10:45 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