LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 136
Default Calendar Pop up issue

Hi,

I'm using excel 2003.

I have created a calendar pop up by using the code from Ron de Bruin's site
http://www.rondebruin.nl/calendar.htm

The pop was working fine but now when I click on the cell's where the
control is located the calendar doesn't appear.

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

End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Not Application.Intersect(Range("J19:J21,J23:J29"), Target) Is
Nothing Then
Calendar1.Left = Target.Left + Target.Width
Calendar1.Top = Target.Top + Target.Height
Calendar1.Visible = True
Calendar1.Value = Date
ElseIf Calendar1.Visible Then Calendar1.Visible = False
End If


End Sub

I have swapped PC's and had to install the Calendar Control as described on
http://www.fontstuff.com/vba/vbatut07.htm.

I created the user form from scratch on the new machine but the control
still isn't working.

Any ideas on what the issue might be would be appreciated.

Thanks in advance,

Gav123

 
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
Calendar Tool issue Steen Excel Discussion (Misc queries) 0 August 12th 08 07:08 AM
Calendar issue cjtj4700 Excel Discussion (Misc queries) 2 January 6th 06 08:21 PM
Calendar conrtol issue Jim Carlock[_3_] Excel Programming 0 August 10th 04 01:28 AM
Calendar conrtol issue Don Guillett[_4_] Excel Programming 0 August 8th 04 11:47 PM
Calendar conrtol issue RB Smissaert Excel Programming 2 August 8th 04 06:18 PM


All times are GMT +1. The time now is 01:33 AM.

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"