Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ingreso datos hacia abajo

publicado

Estimados amigos:

Tengo un formulario y me falta solucionar tres puntos:

1. Mi formulario esta registrando en la segunda fila y lo que deseo es que los datos ingresados se desplace hacia abajo.

2. En mi tabla de datos, quisiera que en la columna A, cada registro ingresado se cuente en forma automática y correlativa los datos ingresados.

3. Tener una alerta cuando se ingrese mal la fecha. (13/31/2014)

Estaré atento a sus respuestas,

Gracias,

Lucho

FORMULARIO1.rar

Featured Replies

publicado

Sustituye el procedimiento:

Private Sub Btn_Registrar_Click()

If IsDate(TextBox1) = False Then
MsgBox "Fecha errónea. Corrija y reintente.", vbCritical
Exit Sub
End If

x = Range("A" & Rows.Count).End(xlUp).Row + 1
If x = 2 Then
ActiveSheet.Cells(x, 1) = 1
Else
ActiveSheet.Cells(x, 1) = ActiveSheet.Cells(x - 1, 1) + 1
End If
ActiveSheet.Cells(x, 2) = TextBox1
ActiveSheet.Cells(x, 3) = TextBox2

TextBox1 = Empty
TextBox2 = Empty
TextBox1.SetFocus

End Sub
[/CODE]

publicado
  • Autor

Macro Antonio:

Funciona perfecto...! Tu ayuda es valiosa... Tema solucionado

Gracias

Lucho.

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.