Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have created a user form which automatically enters the current date by
using the following code in the UserForm Initialize. txtDate.Value = Now() When the information is put in the spreadsheet it shows the date in one cell like this: 4/9/2006 19:33 I would like to format the date in vba within the form so that it returns only the month and year, leaving out the day and time. I don't want to do this by formatting the column in the worksheet because I will need to manipulate the date in formulas. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
permanent conversion of 1904 date format to 1900 date format | Excel Worksheet Functions | |||
How do I convert dd/mm/yy date format to yyddd Julian date format | Excel Worksheet Functions | |||
Excel 2000 date format cannot be set to Australian date format | Excel Discussion (Misc queries) | |||
code to convert date from TEXT format (03-02) to DATE format (200203) | Excel Programming | |||
Change a date in text format xx.xx.20xx to a recognised date format | Excel Programming |