Ver originalIf Forms.Count > 1 Then MsgBox "Debe cerrar las ventanas antes de continuar" Exit Sub 'Salir del procedimientoEnd If