ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,689
- Office Version
- 2007
- Platform
- Windows
I have on my userform a date picker & looking to send this value to the cell in row G
Please advise as the below shown in Red didnt work for me.
Please advise as the below shown in Red didnt work for me.
Rich (BB code):
Private Sub SendToWorksheet_Click()
Application.ScreenUpdating = False
With Sheets("QUOTES")
.ListObjects("Table42").ListRows.Add 1, True
.ListObjects("Table42").DataBodyRange.RowHeight = 25
.Range("D2") = Me.ComboBox1.Text ' VEHICLE
.Range("H2") = Me.ComboBox2.Text ' DESCRIPTION OF JOB
.Range("K2") = Me.ComboBox3.Text ' PAYMENT
.Range("I2") = Me.ComboBox4.Text ' MILEAGE THERE & BACK
.Range("A2") = Me.TextBox1.Text ' NAME
.Range("B2") = Me.TextBox2.Text ' TELEPHONE
.Range("C2") = Me.TextBox3.Text ' POST CODE
.Range("E2") = Me.TextBox4.Text ' VEHICLE REG
.Range("F2") = Me.TextBox5.Text ' QUOTED
.Range("G2") = Me.Datepicker1.Value = Date ' DATE OF QUOTE
.Range("J2") = Me.TextBox8.Text ' VIN
End With
Application.ScreenUpdating = True
Unload QuotesForm
Range("A1").Select
ActiveWorkbook.Save
End Sub