Date as a value to a textbox as a result from another textbox

Discussion in 'Coding' started by Melanie0129, Feb 11, 2018.

  1. Melanie0129

    Melanie0129

    Joined:
    Feb 11, 2018
    Likes Received:
    0
    Hello,

    Can anyone help me? On my combobox I put my status as (cleared, taken and valid). What I want is when I choose cleared and taken as a status the date today would be appeared to processed date and for valid status the date today would be appeared to initial request date. This is in userform bdw. What code to be used?

    Thanks!

    Mel
     
    Melanie0129, Feb 11, 2018
    #1
    1. Advertisements

  2. Melanie0129

    Abraham Andres Luna

    Joined:
    Mar 14, 2018
    Likes Received:
    96
    Location:
    Spring Hill, FL 34608
    The ComboBox has a SelectedItemChanged event. Create a handler that will catch this event and then test the ComboBox.SelectedText to see if it is either "Cleared" or "Taken" and then fill the "Initial Request Date" with the date you want.
     
    Abraham Andres Luna, Mar 14, 2018
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.