Tentando copiar a função do vlookup no VBA, o melhor que posso fazer é:
Function VBALOOKUP(LUcell As Variant, LUArray As Range, LUColi As Long, OutColi As Long) As Variant
Dim Y() As Variant
Dim X As Long
'cycle through each cell...
22.09.2016 / 11:59