Skip to content
Advertisement

If a combo box = specific text then display in text box current date

If a combo box = Closed, rejected or cancelled then display today’s date in text box.

for example I have a combo box that has closed open rejected and cancelled. If someone chooses closed rejected or canceled then I need a text box to display the current date.

I tried the below code but not sure where to put it.

Advertisement

Answer

It would be as ControlSource for that textbox:

Edit:

Use the AfterUpdate of the combobox:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement