Hi,
I have 4 textboxes in a userform1. When I click in one of them
, I have a separate datepicker userform2 that shows and puts its value in the textbox. It took time but that works.
My issue is that when I initialize userform1, I would like to have specific dates in the textboxes
but that launch my datepicker userform. I tried
but have the same result.
I wish I could use the same the same effect as Application.EnableEvents=false to have the enter/change.
I have a button Ok, that I try to put focus on before and after without any success
Any idea is welcome
I have 4 textboxes in a userform1. When I click in one of them
Code:
[LEFT][COLOR=#222222][FONT=Verdana]textbox1_enter[/FONT][/COLOR][/LEFT]
My issue is that when I initialize userform1, I would like to have specific dates in the textboxes
Code:
textbox1.value=Range("A1").value
but that launch my datepicker userform. I tried
Code:
[LEFT][COLOR=#222222][FONT=Verdana]textbox1_change [/FONT][/COLOR][/LEFT]
I wish I could use the same the same effect as Application.EnableEvents=false to have the enter/change.
I have a button Ok, that I try to put focus on before and after without any success
Code:
BtnOK.SetFocus
Last edited: