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.

Formato hora en ListBox

publicado

Buenos días,

Amigos(as) quisiera solicitar la ayuda a mi problema, estoy intentado crear un formulario que contiene 2 listbox, pero necesito que el resultado de la columna# 3 se exprese en formato hora(hh:mm) en cada listbox para mi ejemplo serian 2.

Agradezco la ayuda que me puedan dar.

Saludos 
Jose

Consulta foro.xlsm

Featured Replies

publicado

Ya te he contestado aquí.

http://www.todoexcel.com/foro-excel/macros/formato-hora-listbox-t36584.html

 

Dejo la respuesta para quien le pueda interesar:

Private Sub UserForm_Initialize()
   With ListBox1
   .ColumnCount = 3
   .ColumnWidths = "50;50;50"
   .ColumnHeads = False
   .RowSource = "AV8:AX70" '<== Respeta el formato de la celda
   End With
   
   With ListBox2
   .ColumnCount = 3
   .ColumnWidths = "50;50;50"
   .ColumnHeads = False
   .RowSource = "AZ8:BB70" '<== Respeta el formato de la celda
   End With
End Sub

 

publicado
  • Autor

Muchas gracias! aaquino es acertado y logré comprender el código. Lamentablemente no encontré el botón para darte 100 like.

Saludos cordiales

Jose

Nota: Tema concluido

publicado
  • Autor

Magistral! macro Antonio muy agradecido

  • Silvia bloqueó este tema

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.