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.

Encabezado de un ComboBox

publicado

Queridos colegas tengan buen día.

Ahora me encuentro con una dificultad la cual es que no logro mostrar los encabezados de los datos que voy añadiendo al ComboBox.

Cambie Mencionar que el combobox de arriba en el evento change realice la instruccion sobre el combobox de abajo.

image.png.684fceb2e83493c4de273a1b08084d27.png

codigo:

With ComboBox10
      .AddItem BD.Range("A" & x_Busco)
      .List(ComboBox10.ListCount - 1, 1) = BD.Range("A" & x_Busco)
      .List(ComboBox10.ListCount - 1, 2) = BD.Range("D" & x_Busco)
      .List(ComboBox10.ListCount - 1, 3) = BD.Range("C" & x_Busco)
      .List(ComboBox10.ListCount - 1, 4) = BD.Range("B" & x_Busco)
      .List(ComboBox10.ListCount - 1, 5) = BD.Range("G" & x_Busco)
      .List(ComboBox10.ListCount - 1, 6) = BD.Range("I" & x_Busco)
      .ColumnWidths = "85;60;60;50;80;60"
      .ColumnHeads = True
End With

 

Agradezco quien pueda ayudarme.

 

Saludos,

Jairo Arango

Featured Replies

publicado

Los encabezados solo son compatibles si el llenado del combobox/listbox se hace a través de la propiedad RowSource con un rango continuo. Ejemplo: ComboBo1.RowSource = "Hoja1!A2:F20"

 

Editado el por Antoni

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.