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.

Buscar Siguiente

publicado

Estimados

necesito hacer un formulario de busqueda en excel que busque un dato ingresado en un textbox y al encontrarlo me de un msj con la informacion que esta ingresada en la misma fila pero 21 columnas mas a la derecha

Tengo lo siguiente

Private Sub CommandButton5_Click()

If TextBox5 = "" Then

MsgBox "Ingresar RUT"

Else

docid = TextBox5.Value

With Worksheets("hoja1").Cells

Set dato = .Find(docid)

If Not dato Is Nothing Then

MsgBox dato.Offset(0, 21)

Else

MsgBox "No se encontró registro"

End If

End With

End If

End Sub

funciona, pero el problema es que si ese RUT se encuentra ingresado en la planilla mas de una vez, solo me muestra el primer resultado encontrado y necesito que me los vaya mostrando todos, uno por uno...y no doy con la solucion :apthy:

Featured Replies

publicado

Buenas, orysha

Prueba con un Listbox, de manera que te los pueda listar uno detrás de otro......

Por si te vale como ayuda.....

Un saludo,

Tese

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.