View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
OMAR OMAR is offline
external usenet poster
 
Posts: 25
Default VLOOKUP error 1004

Hi,

Can anyone help me to find the error in this code?

Private Sub btn4_Click()
Dim magneto As Range
Dim numero
Dim valor
Set magneto = Worksheets("info").Range("A2:AW65536")
numero = ufConsulta.txt33.Value
ufConsulta.cbo1.Value = Application.WorksheetFunction.VLookup(numero,
magneto, 13, false)

Thanks in advance...