Sorry y'all...thanks for the help in the past. You all are so friendly here. ray:
What I'm trying to do is get a command button and input box to send the info/script to a cell on one page and a cell on another. Except on the first page it will overwrite the info in the cells each time something is entered, and on the second page it needs to go down the column so that the previous entry stays there.
I've got it all figured out for the first page, and I figured out how to send the info to the second page, but not so that it doesn't overwrite the previous entry.
Here is my VBA coded, but this is without any codes to send the info to the other page:
Private Sub ACG_Shipments_Click()
Range("c2").FormulaR1C1 = "=NOW()"
YorN = vbNo
Frm_YesNo.Show
If YorN = vbYes Then
ActiveSheet.ACG_Ship_1.Value = True
Range("E2").Value = ("Current")
Range("F2").Value = ("Current")
MsgBox "This client is current."
YorN = vbNo
UserForm2.Show
If YorN = vbYes Then
Range("H2").Value = InputBox("Please enter your comments.")
Else
Range("h2").Value = ("None")
End If
Exit Sub
Else
ActiveSheet.ACG_Ship_2.Value = True
Range("E2").Value = InputBox("What document is missing?")
Range("f2").Value = InputBox("What is your action?")
YorN = vbNo
UserForm2.Show
If YorN = vbYes Then
Range("H2").Value = InputBox("Please enter your comments.")
Else
Range("h2").Value = ("None")
End If
Exit Sub
End If
End Sub
What I'm trying to do is get a command button and input box to send the info/script to a cell on one page and a cell on another. Except on the first page it will overwrite the info in the cells each time something is entered, and on the second page it needs to go down the column so that the previous entry stays there.
I've got it all figured out for the first page, and I figured out how to send the info to the second page, but not so that it doesn't overwrite the previous entry.
Here is my VBA coded, but this is without any codes to send the info to the other page:
Private Sub ACG_Shipments_Click()
Range("c2").FormulaR1C1 = "=NOW()"
YorN = vbNo
Frm_YesNo.Show
If YorN = vbYes Then
ActiveSheet.ACG_Ship_1.Value = True
Range("E2").Value = ("Current")
Range("F2").Value = ("Current")
MsgBox "This client is current."
YorN = vbNo
UserForm2.Show
If YorN = vbYes Then
Range("H2").Value = InputBox("Please enter your comments.")
Else
Range("h2").Value = ("None")
End If
Exit Sub
Else
ActiveSheet.ACG_Ship_2.Value = True
Range("E2").Value = InputBox("What document is missing?")
Range("f2").Value = InputBox("What is your action?")
YorN = vbNo
UserForm2.Show
If YorN = vbYes Then
Range("H2").Value = InputBox("Please enter your comments.")
Else
Range("h2").Value = ("None")
End If
Exit Sub
End If
End Sub