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.

Concatenado en celda a Listbox

publicado

Hola, buenas tardes me podrian ayudar con este proyecto.

adjunto ejemplo

Lo que necesito es que tengo en una base, datos concatenados en un hoja de excel y he logrado separarlo con split a unos textbox pero ahora me surgio la idea de ponerlos directamente en un listbox sin separarlos previamente. sera que me podria ayudar con el codigo.

 

Salu2

 

Ejemplo Listbox concatenado.xls

Featured Replies

publicado
Private Sub LlenarListBox()
For x = 2 To Range("A" & Rows.Count).End(xlUp).Row
   B = Split(Range("B" & x), "-")
   C = Split(Range("C" & x), "-")
   D = Split(Range("D" & x), "-")
   With ListBox1
      For y = 0 To UBound(B)
         .AddItem Range("A" & x)
         .List(.ListCount - 1, 1) = B(y)
         .List(.ListCount - 1, 2) = C(y)
         .List(.ListCount - 1, 3) = D(y)
      Next
   End With
Next
End Sub

Llama a este procedimiento para llenar el ListBox.

publicado
  • Autor

Excelente Antoni, muchas gracias

 

Exacto lo que necesitaba

 

 

Tema cerrado

Salu2

 

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.