Ingresar datos según fecha
Hola, estoy haciendo una macro para llevar una estadística en tiempo de respuesta, y necesito que los datos que se ingresen se vayan a diferentes hojas según el mes del registro. El código funciona bien para la hoja1, pero no se como hacerlo con las otras hojas.
me podrían ayudar, se los agradecería.
Private Sub CommandButton2_Click()
Range("A" & Cells.Rows.Count).End(xlUp).Offset(1).Select
ActiveCell = DTPicker1.Value
ActiveCell.Offset(0, 1) = TextBox1.Value
ActiveCell.Offset(0, 2) = TextBox2.Value
ActiveCell.Offset(0, 3) = TextBox3.Value
ActiveCell.Offset(0, 4) = ComboBox1.Value
ActiveCell.Offset(0, 5) = ComboBox2.Value
DTPicker1.SetFocus
End Sub
1 respuesta
Respuesta de Elsa Matilde
1
