C
CoitusGod
i used VB to create a 'pop up' calendar to enter in dates. the way
have it written now is that it will place the text in the ActiveCell
i would like not to print to a certain cells but place the date in
text box that i created.
Private Sub Calendar1_Click()
ActiveCell.Value = Calendar1.Value
Unload Me
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub UserForm_Initialize()
If IsDate(ActiveCell.Value) Then
Calendar1.Value = DateValue(ActiveCell.Value)
Else
Calendar1.Value = Date
End If
End Sub
i am a VB newbie so please treat me like one :
have it written now is that it will place the text in the ActiveCell
i would like not to print to a certain cells but place the date in
text box that i created.
Private Sub Calendar1_Click()
ActiveCell.Value = Calendar1.Value
Unload Me
End Sub
Private Sub cmdClose_Click()
Unload Me
End Sub
Private Sub UserForm_Initialize()
If IsDate(ActiveCell.Value) Then
Calendar1.Value = DateValue(ActiveCell.Value)
Else
Calendar1.Value = Date
End If
End Sub
i am a VB newbie so please treat me like one :