Current Date Code in form
The date is not showing in the form. Also, after the form shows I get a
Runtime 424 error. Here is the code I am using with your suggestion:
Private Sub LienRegistration_Click()
Application.ScreenUpdating = False
Dim nResult As Long
resp = MsgBox(Prompt:="Do you want to clear values?", Buttons:=vbYesNo)
If resp = vbYes Then
Application.Goto Reference:="NFNRRegistrationBusinessName"
Selection.ClearContents
LienRegistrationForm.Show
ProcessDate.Text = Format(Date, "mm/dd")
Sheets("Menu").Select
End If
End Sub
--
GTReferee
"Jacob Skaria" wrote:
ProcessDate.Text = Format(Date,"mm/dd")
If this post helps click Yes
---------------
Jacob Skaria
"Tony" wrote:
I want to have the current date to appear in a form formatted as mm/dd. The
textbox name is ProcessDate.
|