View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
smw226 via OfficeKB.com smw226 via OfficeKB.com is offline
external usenet poster
 
Posts: 98
Default Lists with dates in them

Hi,

Normally if I am working with dates I would imbed the calendar control.

Todo this:
First make sure that the control toolbar is visible.
Click on "More Controls" at the very end
Choose "Calendar Control" which will add it to your worksheet.

If you double click on the control (in design mode) it will take you into the
VBA editor where you can choose the "After Update" action to trigger your
macro.

You can acces the selected date via:
Me.Calendar1.Value

HTH

Simon

================================================== ======================



TheNewbie wrote:
I am trying to come up with a way to have a dropdown list that displays all
the days of the month, and when you choose one of the dates, it takes you to
the corresponding cell on the page (employees are listed vertically, and days
of the month are listed horizontally accross the page, with a section under
each date for each employee). Here is an example of what I am talking about:

Emp1 Date1 Date2 Date3 Date4...
Emp2 Date1 Date2 Date3 Date4...
Emp3 Date1 Date2 Date3 Date4...

So when I click on date4 in the dropdown list, it moves me over to the date4
cell, just for an example.

I know how to create a macro that would do this, but I don't want to have to
have 31 buttons to correspond to each day of the month, I just want one list
that has all the macros in it. I don't even know if this is possible.


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200801/1