Date question
Hi Greg
like this?
-------
Private Sub UserForm_Initialize()
If Month(Now()) <= 7 Then
Me.TextBox1.Value = Year(Now())
Else
Me.TextBox1.Value = Year(Now()) + 1
End If
End Sub
--------
Cheers
JulieD
"Greg B" wrote in message
...
I want to put a text box which suggests the year.
I would like it to suggest the current year until after july when the
program will need to suggest next year.
Thanks in advance
Greg
|