For the calendar I had some trouble adding multiple entries to different textboxs. If I had for example Textbox3 and textbox4 with date entries... I would add the code:
Private Sub Calendar1_Click()
frmne.TextBox3.Value = Calendar1.Value
frmne.TextBox4.Value = Calendar1.Value
Unload Me
End Sub
But it would add the date in both textbox, I know i'm missing something to use only one calendar but that would be another thread 
_______________________
I have the following calendar2:
Private Sub Calendar1_Click()
frmne.TextBox3.Value = Calendar1.Value
frmamendment.TextBox4.Value = Calendar1.Value
frmcontract.TextBox5.Value = Calendar1.Value
frmtermination.TextBox6.Value = Calendar1.Value
frmoptionyear.TextBox3.Value = Calendar1.Value
Unload Me
End Sub
Private Sub Calendar1_DateClick(ByVal DateClicked As Date)
On Error Resume Next
Texbox.Value = DateClicked
Unload Me
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
Then in my userform I have the following code (not all code but only for Textbox3)
Private Sub TextBox3_Change()
TextBox3.Value = Format(TextBox3.Value, "YYYY/MM/DD")
End Sub
and
Private Sub TextBox3_Enter()
frmne.TextBox3.Value = ""
frmCalendar2.Show
End Sub
Problem is that if November 12, 2013 is selected it shows as 2013-12-11 but the code sais that the format is YYYY-MM-DD... I need it to show as November 12, 2013 and not December 11, 2013...
But November 13, 2013 works perfect... I am so confused
Bookmarks