You are on page 1of 1

Private Sub Cambiar_Click()

Dim A(3, 3) As Integer

Dim C As Integer

Dim D As Integer

Dim Aux As Integer

D=0

C=0

For fil = 1 To 3

For col = 1 To 3

A(fil, col) = InputBox("matriz A", "")

Text1(C) = A(fil, col)

C=C+1

Aux = A(1, 1)

If Aux > A(fil, col) Then

Aux = A(fil, col)

Text3(D) = Aux

End If

Next col

Next fil

You might also like