Please help on how to add date (with complete format) to a combo box...
how to add date to a combo box?
Page 1 of 14 Replies - 11329 Views - Last Post: 01 August 2010 - 11:11 PM
Replies To: how to add date to a combo box?
#2
Re: how to add date to a combo box?
Posted 17 September 2008 - 01:24 AM
simple
formatString ="your format" combobox1.additem(format(now,formatstring))
#3
Re: how to add date to a combo box?
Posted 28 September 2008 - 12:08 AM
Private Sub Form_Load() Combo1.AddItem CStr(Date) End Sub
Will this help you..????
#4 Guest_Nikhil*
Re: how to add date to a combo box?
Posted 01 August 2010 - 10:57 AM
Sorry but aftr using codee given by- akhileshbc.................it only gives today's date n doesnt giv days from 1-31 or month as jan-dec 0r year from 1990-2010.
how can we do this???????
how can we do this???????
#5
Re: how to add date to a combo box?
Posted 01 August 2010 - 11:11 PM
Ahhh... Simple. Type in format and Press F1. When help appears, read about the format function and then click on the see also link at the top of the article. First, when the dialog appears, select Named Date/Time Formats (Format Function) after reading that, click on See Also once again and select User-Defined Date/Time Formats (Format Function). Or if you really want to get fancy and use the FormatDateTime Function that the Format function calls...
Good Luck
Good Luck
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|