Sei sulla pagina 1di 1

Dim id_nom, idbus As Integer

Dim fila As Integer


fila = 2
id_nom = 1
idbus = Sheets(1).Range("c" & fila).Value
If idbus = Empty Then
lngResponse2 = MsgBox("No encuentra datos. ", vbACEPTAR)
GoTo LastLine
End If
If idbus = id_nom Then
MsgBox "Segundo if "
Sheets(1).Range("C" & fila).Value = "C"
fila = fila + 1
Else
fila = fila + 1
End If

LastLine:
'MsgBox "Celdas vacias "

Potrebbero piacerti anche