Mario Lugo respondió:
Option Explicit 'Declaramos dos variables con eventos de tipo "botón de comando", en este caso..ok Private WithEvents CmdValidar As CommandButton Private WithEvents CmdSalir As CommandButton Dim n As Integer Dim Ufila As Long Dim Sfila As Long Dim...