#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default pop up calender

I am trying to insert pop up calender from Insert, objet, then select
calender control 11.0 after that i right click on the sheet then i past the
code below, but the problem iam getting this message"
=EMBED("MSCAL.Calendar","") "
can any one help me to make it work, and iam using a check box right next to
it


Private Sub Calendar1_Click()
ActiveCell.Value = CDbl(Calendar1.Value)
ActiveCell.NumberFormat = "mm/dd/yyyy"
ActiveCell.Select
End Sub

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Not Application.Intersect(Range("A1:A20"), Target) Is Nothing Then
Calendar1.Left = Target.Left + Target.Width - Calendar1.Width
Calendar1.Top = Target.Top + Target.Height
Calendar1.Visible = True
' select Today's date in the Calendar
Calendar1.Value = Date
ElseIf Calendar1.Visible Then Calendar1.Visible = False
End If
End Sub
--
samy
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
pop up calender pezcore Excel Discussion (Misc queries) 2 October 18th 07 02:15 PM
calender S S Excel Worksheet Functions 1 July 26th 07 11:57 PM
Calender Antney Excel Discussion (Misc queries) 0 December 11th 06 10:42 PM
CALENDER smickParisTX Excel Discussion (Misc queries) 0 January 19th 06 06:19 PM
Calender Help Alexanderj Excel Worksheet Functions 3 November 10th 05 02:10 PM


All times are GMT +1. The time now is 10:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"