Professional Documents
Culture Documents
Dim nf As Integer
Dim nc As Integer
Dim i As Integer
Dim j As Integer
nf = CInt(TxtNfil.Text)
nc = CInt(TxtNcol.Text)
i=1
j=1
CmdElemento.Caption = "Elemento (" & i & ", " & j & ")"
CmdAceptar.Enabled = False
End Sub
For i = 1 To nf
For j = 1 To nc
Cells(i, j) = mat(i, j)
Next j
Next i
Cells(nf, nc + 3) = detval
End Sub
j=j+1
TxtElemento.Text = Clear
TxtElemento.SetFocus
CmdElemento.Caption = "Elemento ( " & i & "," & j & ") "
If j > nc Then
j=1
i=i+1
CmdElemento.Caption = "Elemento ( " & i & "," & j & ") "
If i > nf Then
For i = 1 To nf
For j = 1 To nc
Next j
LstMatriz.AddItem linea
Next i
End If
End If
End Sub
End Sub