Thanks,
I'm including my code so far, because I don't have the _change item you mentioned, maybe you could point out where it should go?
VB:
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdClearForm_Click()
Call UserForm_Initialize
End Sub
Private Sub cmdOK_Click()
ActiveWorkbook.Sheets("Plant Production").Activate
Range("A1").Select
Do
If IsEmpty(ActiveCell) = False Then
ActiveCell.Offset(1, 0).Select
End If
Loop Until IsEmpty(ActiveCell) = True
ActiveCell.Value = txtDate.Value
ActiveCell.Offset(0, 1) = txtPlant.Value
ActiveCell.Offset(0, 2) = txtTonsDel.Value
ActiveCell.Offset(0, 3) = txtPlantProd.Value
ActiveCell.Offset(0, 4) = txtRunTime.Value
ActiveCell.Offset(0, 5) = txtACTons.Value
ActiveCell.Offset(0, 6) = txt5Beg.Value
ActiveCell.Offset(0, 7) = txt5End.Value
ActiveCell.Offset(0, 8) = txt5Total.Value
ActiveCell.Offset(0, 9) = txt2Beg.Value
ActiveCell.Offset(0, 10) = txt2End.Value
ActiveCell.Offset(0, 11) = txt2Total.Value
If optNewData = True Then
ActiveCell.Offset(0, 25).Value = "New"
ElseIf optCorrection = True Then
ActiveCell.Offset(0, 25).Value = "Corrected"
End If
Range("A1").Select
End Sub
Private Sub UserForm_Initialize()
txtDate.Value = Date
txtTonsDel.Value = ""
txtPlantProd.Value = ""
txtRunTime.Value = ""
txtPlant.Value = ""
txt5Beg.Value = ""
txt5End.Value = ""
txt5Total.Value = ""
txtACTons.Value = ""
With cboWeather
.AddItem "Clear"
.AddItem "Cloudy"
.AddItem "Light Rain"
.AddItem "Heavy Rain"
.AddItem "Severe"
.AddItem "We Shouldn't Be Here!"
End With
cboWeather.Value = ""
optNewData = True
txtDate.SetFocus
End Sub
Thanks everyone for any help!
Bookmarks