Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have some code from Ron deBruin that is used with a calander to select a
date for an active cell. The code works great, but I loose my paste function. I narrowed it down to this code by removing all code one at a time until I found the one that was denying me the ability to Paste. What part of this code is removing my Paste function? And how can I keep the function and the code? Private Sub Worksheet_SelectionChange(ByVal Target As Range) If Target.Cells.Count 1 Then Exit Sub If Not Application.Intersect(Range("C6"), 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 Else: Calendar1.Visible = False End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paste Special | Excel Discussion (Misc queries) | |||
Paste rows of numbers from Word into single Excel cell | Excel Discussion (Misc queries) | |||
copy paste cell character limit | Excel Discussion (Misc queries) | |||
How to cut and paste with locked formulas | Excel Discussion (Misc queries) | |||
Paste Special Question | Excel Discussion (Misc queries) |