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.

Borrar item y ordenar alfabeticamente en listbox multiselect

publicado

Sigo liado con algunas dudas sobre listbox, ya en una duda anterior sonre añadir item a listbox me ayudaron y puede silucionarla en el siguiente link

https://www.ayudaexcel.com/foro/macros-programacion-vba-10/agregar-items-nuevos-listbox-userform-31424/

En estos momentos tengo dos problemas:

1. No consiguo ordenar el listbox automaticamente por orden alfabetico al añadir un item nuevo.

2. Intento eliminar un item de dicho listbox pero no consegui que se elimine definitivamente de la hoja de donde pilla los datos, solo consigo eliminarlo del listbox.

CommandButton1_Click()
If ListBox1.ListIndex > -1 Then 'si se ha seleccionado algo
Cells(ListBox1.ListIndex + 1, 2) = "registro borrado"
ListBox1.RemoveItem (ListBox1.ListIndex)
End If
End Sub[/PHP]

En concreto me refiero a la pestaña "comediacion" del muiltipage en "Nuevo Paciente".

Un saludo y muchas gracias

listbox5.zip

Featured Replies

No hay posts para mostrar

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.