M
MR. BIF.
Hello all,
I am using word 2003 proff. edit.
I have a form with a normal textbox on it. I am using the
UserForm_Initialize() to make the textbox initialize with the current date.
I do it this way:
Private Sub UserForm_Initialize()
Dim SystemDato
SystemDato = Date
Dato.Value = SystemDato
End Sub
When i use the code above, it put the value 22-11-2006 into the textbox. I
would like to change that to the following format 22.11.2006
I have tried working with the format function, but I just cant get it to
work at all.
Can someone guide me in the right direction?
Thanks for any help with this problem.
/Henrik.
I am using word 2003 proff. edit.
I have a form with a normal textbox on it. I am using the
UserForm_Initialize() to make the textbox initialize with the current date.
I do it this way:
Private Sub UserForm_Initialize()
Dim SystemDato
SystemDato = Date
Dato.Value = SystemDato
End Sub
When i use the code above, it put the value 22-11-2006 into the textbox. I
would like to change that to the following format 22.11.2006
I have tried working with the format function, but I just cant get it to
work at all.
Can someone guide me in the right direction?
Thanks for any help with this problem.
/Henrik.