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.

Registrar datos en celda con datepicker

publicado

Hola

Tengo el siguiente formulario que me recibe datos(parámetros), tengo una duda en cuanto al manejo e implementación del código con DatePicker e ingresarlos en una celda en la tabla generada.

Private Sub btn_registrar_Click()

ActiveSheet.Cells(8, 2).Select
Selection.EntireRow.Insert
ActiveSheet.Cells(8, 2) = TextBox1
ActiveSheet.Cells(8, 3) = TextBox2
ActiveSheet.Cells(8, 4) = TextBox3
ActiveSheet.Cells(8, 5) = TextBox4

TextBox1 = Empty
TextBox2 = Empty
TextBox3 = Empty
TextBox4 = Empty

TextBox1.SetFocus
Ordenar 'macro ordenar

End Sub[/CODE]

Saludos

Featured Replies

publicado
  • Autor

Nadie puede ayudarme lo quiero es implementar el modulo o función para el registro de datos en una celda determinada mediante el Calendar de excel, alguien podría darme una idea como verán soy novato en esta herramienta.

Muchas gracias.

publicado

Si la fecha está en el textbox1, sustitúyelo por un datapicker, en él eliges la fecha que te irá a tu cells(8,2)

Private Sub btn_registrar_Click()

ActiveSheet.Cells(8, 2).Select

Selection.EntireRow.Insert

ActiveSheet.Cells(8, 2) = DTPicker1.Value

ActiveSheet.Cells(8, 3) = TextBox2

ActiveSheet.Cells(8, 4) = TextBox3

ActiveSheet.Cells(8, 5) = TextBox4

TextBox2 = Empty

TextBox3 = Empty

TextBox4 = Empty

DTPicker1.SetFocus

Ordenar 'macro ordenar

End Sub

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.