![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 26
|
Hey,
I have three combo boxes with the 1st containg the day, and the second containing the month and the third containing the year. The problem is that i must copy and paste the date to a seperate data base, however it is not possible to copy the date straight from the combo box. so i have made a link to a seperate cell, but i am unable to concatenate these three into one cell and format it as a date. The date setup that i want iss dd/mm/yyyy. Any help would be good. Thanx Craig |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
If you send me your email address I'll send you a little calendar that I made for a userform, which is quite cool. It does exactly what you want it to do
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 26
|
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
I've sent it, if you need to know anything about it, just ask
Audiojoe Wow, look at us now, flowers in the window |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
Here what I wanted to say. If you created the comboboxes thru Toolbars|Forms, and your cell links are, say, A1, B1, and C1 and associated input ranges, say, List1, List2, and List3, use: =DATE(INDEX(List3,C1),INDEX(List2,B1),INDEX(List1,A1)) If A1, B1, and C1 contains the relevant values directly, use (as Ian Mac also noted): =DATE(C1,B1,A1) Aladin [ This Message was edited by: Aladin Akyurek on 2002-04-11 02:48 ] |
|
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
|
Quote:
=date(year,month,day) if your linked cells are A1 = Day A2 = Month A3 = Year... put: =date(A3,A2,A1) and format how you wish.
__________________
"Have a good time......all the time" Ian Mac |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|