Private Sub CommandButton1

You might also like

You are on page 1of 1

Private Sub CommandButton1_Click()

Dim i As Integer

Dim j As Integer

Sheet1.Cells(1, 1) = "BIENVENIDO"

For i = 2 To 5

For j = 1 To i

If ((i + j) Mod 2) = 0 Then

Sheet1.Cells(i, j) = Sheet1.Cells(1, 1)

End If

Next j

Next i

End Sub

You might also like