Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default if todays date is in the month of january, then specific drop down list, if feb, another list, etc

This is what I am wanting to do: When the worksheet is opened, I have
the form =Today() in a hidden cell. If that date contains the month
of January, I want a specific drop down list to appear in another cell
(H4). If it contains February, another list should appear in that
same cell (H4). If March, another list, etc throughout the months of
the year.

I had orig trid to do a user form calendar, but this sheet will be
used by over 30 people throughout 8 different offices and not all of
them have the control installed.

Please help??

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default if todays date is in the month of january, then specific drop downlist, if feb, another list, etc

I'm don't see how a calendar control will help.

Maybe you could use Data|Validation and use dependent lists.

See Debra Dalgleish's site for some instructions:
http://contextures.com/xlDataVal02.html

I'd create 12 different named ranges that hold the list for that month:

Month_Jan
Month_Feb
....
Month_Dec

(Use insert|name|define to create these names.)

Then I'd use data|validation for the cell that should show the different lists:

Select the cell
data|validation
On the Settings Tab:
Allow: List
Source: =INDIRECT("Month_"&TEXT(TODAY(),"mmm"))

If you need more than 12 lists (Jan 2007 is different from jan 2008), then make
as many defined names/lists as you need and modify the source:

=INDIRECT("Month_"&TEXT(TODAY(),"yyyymmm"))
if you used names like: Month_2007Jan


bjohnson wrote:

This is what I am wanting to do: When the worksheet is opened, I have
the form =Today() in a hidden cell. If that date contains the month
of January, I want a specific drop down list to appear in another cell
(H4). If it contains February, another list should appear in that
same cell (H4). If March, another list, etc throughout the months of
the year.

I had orig trid to do a user form calendar, but this sheet will be
used by over 30 people throughout 8 different offices and not all of
them have the control installed.

Please help??


--

Dave Peterson
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
Use first day of month formula in a drop down list BASFMark Excel Discussion (Misc queries) 3 February 26th 10 04:28 PM
VLOOKUP specific data for month required via dropdown list Toni Bennett Excel Worksheet Functions 4 June 7th 06 04:30 PM
using date function, month shows as January when i type (12) hsas Excel Discussion (Misc queries) 3 June 17th 05 07:15 PM
How do I filter a list using a greater than todays date function? LV Excel Worksheet Functions 2 April 29th 05 06:07 PM
how to make excel select todays date from a list sococr Excel Worksheet Functions 1 February 27th 05 07:02 PM


All times are GMT +1. The time now is 07:35 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"