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.

combobox

publicado

Muy buen día estimados amigos reciban un cordial saludo, tengo un combobox en un formulario de BVA con elementos ya cargados, deseo que cuando escriba un elemento en el combobox que no está en la lista este elemento se adicione automáticamente a la lista del combobox

Mil gracias anticipada por su ayuda

Featured Replies

publicado

Sin libro de ejemplo solo puedo participar en tu consulta con código pensado de manera general.

Private Sub ComboBox1_KeyUp(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
    Dim i As Integer
    Dim existe As Boolean

    existe = False

    ' Verificar si el elemento ya existe en la lista
    For i = 0 To ComboBox1.ListCount - 1
        If ComboBox1.List(i) = ComboBox1.Text Then
            existe = True
            Exit For
        End If
    Next i

    ' Si el elemento no existe, agregarlo a la lista
    If Not existe Then
        ComboBox1.AddItem ComboBox1.Text
    End If
End Sub

Este código agrega un nuevo elemento al combobox cuando el usuario escribe algo y presiona ‘Enter’.

Espero te sea de ayuda, sino comparte el ejemplo y es posible que algún miembro o Maestro te brinde ayuda más específica.

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.