Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Excel Calendar to ONLY allow for Tuesday's in any month to be selected

Is there a way to ONLY enable a Tuesday to be selected from a Calendar, with
no other days of the week enabled ?

If so how can i do this?

Corey....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Calendar to ONLY allow for Tuesday's in any month to be selected

I think this BeforeUpdate event code for the Calendar will do what you
want...

Private Sub Calendar1_BeforeUpdate(Cancel As Integer)
Calendar1.Value = Calendar1.Value - Weekday(Calendar1.Value) + 3
End Sub

Rick


"Corey ...." wrote in message
...
Is there a way to ONLY enable a Tuesday to be selected from a Calendar,
with no other days of the week enabled ?

If so how can i do this?

Corey....


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default Excel Calendar to ONLY allow for Tuesday's in any month to be selected

Unlock Tuesday (Format-Cells-Protection-uncheck 'Locked') and protect your
sheet.

JM


"Corey ...." wrote in message
...
Is there a way to ONLY enable a Tuesday to be selected from a Calendar,
with no other days of the week enabled ?

If so how can i do this?

Corey....



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
changing the month on an inserted calendar in excel don1592 Excel Discussion (Misc queries) 1 February 18th 07 06:03 PM
Displaying Tuesday's date throughout the week Bob Excel Worksheet Functions 9 January 3rd 07 12:00 PM
Calendar change month from multiple sheets to one sheet, Excel 2000 & 2003 jfcby[_2_] Excel Programming 0 December 6th 06 06:17 PM
Accounting Month vs. Calendar Month JN Excel Worksheet Functions 4 January 31st 05 08:09 PM
Need advice, help on creating Microsoft month calendar control using the winapi in Excel Johan De Schutter Excel Programming 0 November 22nd 04 10:10 AM


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