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.

Error '91' en tiempo de ejecución: variable de objeto o con la variable de bloque no establecida

publicado

Buenos dias

Tengo un formulario con 10 OptionButtons cada uno dirigido a una hoja del mismo libro, intento hacer una busqueda usando el siguiente codigo, pero me da Error '91' en tiempo de ejecución: variable de objeto o con la variable de bloque no establecida.

¿alguien podria ayudarme?

Private Sub ComboBox3_Change()

With ActiveSheet

var3 = ComboBox3.Column(0)

Cells.Find(What:=ComboBox3.Value, After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _

xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _

, SearchFormat:=False).Activate

If var3 = ActiveCell Then

TextBox15.Value = ActiveCell.Offset(0, 1)

TextBox7.Value = ActiveCell.Offset(0, 2)

TextBox22.Value = ActiveCell.Offset(0, 3)

TextBox13.Value = ActiveCell.Offset(0, 4)

TextBox19.Value = ActiveCell.Offset(0, 5)

TextBox14.Value = ActiveCell.Offset(0, 6)

TextBox20.Value = ActiveCell.Offset(0, 7)

TextBox16.Value = ActiveCell.Offset(0, 8)

TextBox17.Value = ActiveCell.Offset(0, 9)

TextBox18.Value = ActiveCell.Offset(0, 10)

TextBox3.Value = ActiveCell.Offset(0, 11)

TextBox23.Value = ActiveCell.Offset(0, 12)

End If

End With

End Sub

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.