1) I don't understand why you are experiencing the odd calendar behavior.
I cannot replicate it on Excel 2003. When I dbl-click a target cell, the
calendar pops up. When I click on a date in the calendar, the date is posted
in the active cell and the form closes.
2) Yes, you would refer to Col_M by replaceing [A:A] with [M:M].
3) To refer to M9:M17, M19:M22...
•Select those two clusters of cells.
•Assign a name to them (I used MyDateCells)
•Use the below code in the sheet module:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Intersect(ActiveCell, [MyDateCells]) Is Nothing Then
PopUpCalEntry ActiveCell
End If
End Sub
Bookmarks