A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
One way would be to from the developer menu insert the Calendar Control 11.0 from the ActiveX list, in its property box set the cell to have the date in it as its LinkedCell then enter the folowing code to the worksheet module:
Private Sub Calendar1_Click()
Me.Calendar1.Visible = False
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("B5")) Is Nothing Then
Me.Calendar1.Visible = True
End If
End Sub
This will capture when the cell is selected (I chose B5 at random) bring up the calendar and then close when a date is selected. A way of forcing users to enter dates correctly...
Rik_UK Please mark the message or messages that answer your question as the "Answer" or vote if a reply has been helpful.