G'day Gurus,
Is there a way to set the blue text in this as a variable? I have 3 tabs where I want to add the same info (Race 1, Race 2, Race 3) and i want the one user form to add info to all when you click on the "Add New" Command Button.
Private Sub cbAddNew_Click()
Set LastRow = Worksheet("Race 1").Range("A65536").End(xlUp)
With LastRow
.Offset(1, 0).Value = txtRank
.Offset(1, 1).Value = TxtName
End With
End Sub
TIA
Is there a way to set the blue text in this as a variable? I have 3 tabs where I want to add the same info (Race 1, Race 2, Race 3) and i want the one user form to add info to all when you click on the "Add New" Command Button.
Private Sub cbAddNew_Click()
Set LastRow = Worksheet("Race 1").Range("A65536").End(xlUp)
With LastRow
.Offset(1, 0).Value = txtRank
.Offset(1, 1).Value = TxtName
End With
End Sub
TIA