Haven't tried it, but it looks okayish.
What do you get? Does the project form pop-up with Label10 in it, or
something else?
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"Steff_DK " wrote in message
...
Hi all,
I'm trying to use the calendar control to change the caption on a
label.
I have one form containing the label.
I have another form with the calendar control on, and I want excel to
return the value from the form with the calendar control object to the
form with the label.
Why doesn't this work???
Private Sub Calendar1_Click()
stDeadline = Calendar1.Value
frmcalendar.Hide
With frmNytProjekt
Label10.Caption = stDeadline
End With
End Sub
Cheers
Steff_DK
---
Message posted from http://www.ExcelForum.com/