No compila una macro

07/06/2007 - 19:44 por jack | Informe spam
No me compila esta macro, confeccione un formulario que tiene 3 etiquetas
nombre,dirección y telefono, con 3 botones de comando consulta,baja e inserta.
El comando consulta se cae y me da como error lookat_:xlpart,

Cells.Find(what:=TextBox1, after:=ActiveCell, LookIn:=xlFormulas,
lookat_:=xlPart, searchorder:=xlByRows, searchdirection:=xlNext,
MatchCase:=False).Active
Alguien me puede ayudar
Gracias
 

Leer las respuestas

#1 KL
07/06/2007 - 20:05 | Informe spam
"jack" wrote in message news:
No me compila esta macro, confeccione un formulario que tiene 3 etiquetas
nombre,dirección y telefono, con 3 botones de comando consulta,baja e inserta.
El comando consulta se cae y me da como error lookat_:xlpart,

Cells.Find(what:=TextBox1, after:=ActiveCell, LookIn:=xlFormulas,
lookat_:=xlPart, searchorder:=xlByRows, searchdirection:=xlNext,
MatchCase:=False).Active
Alguien me puede ayudar
Gracias




Prueba esto:

Cells.Find(what:=TextBox1, after:=ActiveCell, _
LookIn:=xlFormulas, lookat:=xlPart, searchorder:=xlByRows, _
searchdirection:=xlNext, MatchCase:=False).Active

Saludos,
KL

Preguntas similares