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.

duda combobox

publicado

recuro a vosotros por el siguiente tema.

tengo un combobox que al ejucartlo enpieza siempre por la primera casilla (a1), es posible que empieze con (a4) y terminne (a30)

este es el codigo que uso

Private Sub ComboBox1_Change()

Dim i As Integer

Dim final As Integer

Dim FINAL2 As Integer

Dim J As Integer

Dim H As Integer

For i = 2 To 1000

If Hoja5.Cells(i, 2) = "" Then

final = i - 1

Exit For

End If

Next

For i = 2 To final

If ComboBox1 = Hoja5.Cells(i, 2) Then

T1 = Hoja5.Cells(i, 2)

T2 = Hoja5.Cells(i, 1)

T7 = Hoja5.Cells(i, 3)

Label75 = Hoja5.Cells(i, 3)

Label76 = Hoja5.Cells(i, 6)

Label82 = Hoja5.Cells(i, 8)

Label84 = Hoja5.Cells(i, 9)

Exit For

End If

Next

End Sub

Private Sub ComBoBox1_Enter()

Dim i As Integer

Dim final As Integer

Dim tareas As String

ComboBox1.BackColor = &H80000005

For i = 1 To ComboBox1.ListCount

'Remove an item from the ListBox.

ComboBox1.RemoveItem 0

Next i

For i = 2 To 1000

If Hoja5.Cells(i, 2) = "" Then

final = i - 1

Exit For

End If

Next

'If ComboBox1.ListCount < 1 Then

'ComboBox1.AddItem "-"

For i = 2 To final

tareas = Hoja5.Cells(i, 2)

ComboBox1.AddItem (tareas)

Next

'End If

End Sub

gracias un saludo

espero buestras respuestas

Featured Replies

publicado

en verdad no se lo que quieres, debes ser mas especifico, y adjuntar tu archivo para ayudarte. Saludos

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.