View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Steve H[_2_] Steve H[_2_] is offline
external usenet poster
 
Posts: 5
Default Doube click cell to run macro

Hello
This code will open a calendar when any cell is dbl clicked:

Private Sub Worksheet_BeforeDoubleClick _
(ByVal Target As Range, Cancel As Boolean)
OpenCalendar
Cancel = True
End Sub


How can I modify to only run if C4 or C6 is clicked?


Thanks!