Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
KT KT is offline
external usenet poster
 
Posts: 47
Default Returning a date value from combo box

Hi

I have a form which receives a project start date and project end date
information through combo boxes. I have set up three boxes one for date one
for month and the other for year. If I select the Start date by using the
three combo boxes, I want the date value mm/dd/yyyy to sit in a cell say "C8"
and like the same way for End date in "D8". Can somebody help me out? Thanks
in advance

KT
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Returning a date value from combo box

Hi KT

Try this

Range("C8").Value = DateSerial(Me.Input1.Value, Me.Input2.Value, Me.Input3.Value)


--
Regards Ron de Bruin
http://www.rondebruin.nl



"KT" wrote in message ...
Hi

I have a form which receives a project start date and project end date
information through combo boxes. I have set up three boxes one for date one
for month and the other for year. If I select the Start date by using the
three combo boxes, I want the date value mm/dd/yyyy to sit in a cell say "C8"
and like the same way for End date in "D8". Can somebody help me out? Thanks
in advance

KT



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning date instead of 'not null' Skeeterj Excel Worksheet Functions 4 November 3rd 09 04:40 PM
Formula for returning date entered by date on another worksheet Tom Excel Worksheet Functions 2 January 29th 09 05:44 AM
Nesting Combo Boxes /Returning an Array ELMONDO SNITHER Excel Discussion (Misc queries) 1 June 30th 05 01:15 AM
date calc returning #name? Papa Jonah Excel Programming 6 March 30th 05 07:41 PM
Returning a date from a UserForm Black1 Excel Programming 2 March 9th 05 03:25 PM


All times are GMT +1. The time now is 05:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"