Pregunta en
Visual Basic
y en 1 temas más
¿Qué hay mal en mi código? ¿No reconoce valores?
Private Sub buscar_m_Click() Range("g5").Select f = 5 a = 0 Do While Cells(f, 1) <> "" If numero_m = Selection.Offset(0, 6) Then a = a + 1 GoTo salto Else a = a End If salto: Range("a3").Select f = f + 1 Loop MsgBox a & " veces facturada." End Sub
Pregunta en
Microsoft Excel
y en 1 temas más