error 91 (variable de objeto o with no establecido)
Publicado por MANUEL (4 intervenciones) el 18/03/2021 14:48:55
Hola,
Agradecería mucho si alguien me puede ayudar, al ejecutar el siguiente código me da un error 91 (variable de objeto o with no establecido)
Agradecería mucho si alguien me puede ayudar, al ejecutar el siguiente código me da un error 91 (variable de objeto o with no establecido)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Private Sub BT_MODIFICAR_Click()
Dim fila As Object
Dim linea As Integer
valor_buscado = Me.txt_lote
Set fila = Sheets("BD").Range("A:A").Find(valor_buscado, lookat:=xlWhole)
linea = fila.Row
MsgBox (linea)
Valora esta pregunta


0