Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
pop up calender | Excel Discussion (Misc queries) | |||
calender | Excel Worksheet Functions | |||
Calender | Excel Discussion (Misc queries) | |||
CALENDER | Excel Discussion (Misc queries) | |||
Calender Help | Excel Worksheet Functions |