Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
ser form question
I use an input box to get a date into cell D10 on sheet1
Later on the user will display an user form which contains a text box that I want the date to be displayed in. I have tried putting it in the control source but the date is American. Is there any way to display the date in the follwowing format: dd/mm/yyyy Thanks in advance. Gareth |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
ser form question
Private Sub UserForm_Initialize()
Me.TextBox1 = Format(Sheets("Sheet1").Range("a1").Value, _ "dd-mm-yy") End Sub Try this -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Gareth" wrote in message ... I use an input box to get a date into cell D10 on sheet1 Later on the user will display an user form which contains a text box that I want the date to be displayed in. I have tried putting it in the control source but the date is American. Is there any way to display the date in the follwowing format: dd/mm/yyyy Thanks in advance. Gareth |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
MultiPage Form Question | Excel Discussion (Misc queries) | |||
Form design question. | Excel Discussion (Misc queries) | |||
Form question | Excel Discussion (Misc queries) | |||
VBA Form Combo Box question. | Excel Discussion (Misc queries) | |||
VBA Form ComboBox question | Excel Worksheet Functions |