You are on page 1of 1

Sub RellenarCeros() Dim i As Integer, j As Integer, Pdia As Single For i = 1 To 10135 Pdia = 0 For j = 1 To 7 If Cells(2 + i, hen Pdia = Pdia

End If Next j For j = 1 To 5 If Cells(2 + i, If Pdia = 0 Cells(2 End If End If Next j Next i End Sub

1 + j).Text <> "" And Cells(2 + i, 1 + j).Text <> "NR" T + Cells(2 + i, 1 + j).Value

1 + j).Text = "" Or Cells(2 + i, 1 + j).Text = "NR" Then Then + i, 1 + j).Value = 0

You might also like