Hola Amigos!
Para hacer varias condicionales, siempre hay que abrir un If y cerrar (End
If) cada una?
Y para que "No Exista" lo que digito cómo le digo que si es diferente "RD20"
o "RD21" o "RZ30" o "RZ31" etc?
Muchas Gracias
Oscar
Barranquilla
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
For i = 2 To 10
If Cells(i, 1) = "RD20" Then
Cells(i, 2) = "Tapa Posterior Cóncava"
End If
If Cells(i, 1) = "RD21" Then
Cells(i, 2) = "Tapa Posterior Plana"
End If
If Cells(i, 1) <> "RD20" Or "RD21" Then
Cells(i, 2) = "No Existe"
End If
Next i
End Sub
Leer las respuestas