Is this what you mean ?
No need for all those shapes then.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(Target, Range("B8:B15")) Is Nothing Then
Application.EnableEvents = False
Target(1).Select
Application.EnableEvents = True
Application.Run "PERSONAL.XLS!OpenCalendar"
End If
End Sub
NickHK
> Hello,
>
[quoted text clipped - 40 lines]
> Thank you for your help in advance,
> jfcby
jfcby - 14 Dec 2006 04:41 GMT
Hello NickHK,
Thank you for the modifed code it works but after the date is entered
in B8 it goes to B2 and scrolls through all the cells B8:B15. Is there
a way to add a msgbox with the option to exit sub or enter another date
in next cell?
Thank you for your help,
jfcby
> Is this what you mean ?
> No need for all those shapes then.
[quoted text clipped - 56 lines]
> > Thank you for your help in advance,
> > jfcby
NickHK - 14 Dec 2006 04:54 GMT
The B2 selection must be happening in some other code. If you don't want
that to happen, delete that code.
You don't to call your "CellDateActivate" routine now, do you ?
NickHK
> Hello NickHK,
>
[quoted text clipped - 66 lines]
> > > Thank you for your help in advance,
> > > jfcby
jfcby - 14 Dec 2006 12:41 GMT
Hello NickHK,
Thank you for your help! When I deleted the retangles that had the
CellDateActivate macro assigned to it that fixed the problem.
Thank you,
jfcby
> The B2 selection must be happening in some other code. If you don't want
> that to happen, delete that code.
[quoted text clipped - 73 lines]
> > > > Thank you for your help in advance,
> > > > jfcby