Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I need help, This is my VBA macro Sub Macro5() Dim mtchValue As Variant Dim getvalue As Variant Dim sh As String Dim fname fname = Application.GetOpenFilename Workbooks.Open filename:=fname sh = "'[" & fname & "]May'!" mtchValue = Application.Evaluate("MATCH(1,(" & sh & "A1:A10000=20)*" & "(" & sh & "B1:B10000=6)*" & "(" & sh & "C1:C10000=""F"")*" & "(" & sh & "E1:E10000=""Escada""),0))") If Not IsError(mtchValue) Then getvalue = Application.Evaluate("Index(" & sh & "F1:F10000," & mtchValue & ")") End If Can anyone tell me why I have "Error 2015" on mtchvalue? End Sub -- Regards, Jeff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
N/A # and error 2015 | Excel Programming | |||
error 2015 performing vlookup | Excel Programming | |||
Error 2015 | Excel Programming | |||
Error 2015 from ConvertFormula | Excel Programming | |||
How to avoid error 2015 when using ActiveCell.Offsett in own function | Excel Programming |