Bonjour
Prière de m'aider sur cette question, je créée une macro qui importe un autre fichier excel et fait une recherche vertical sur le fichier importer, mais le souci c'est que a la recherche vertical il m'affiche #NA, or si je la fais manuellement elle passe
le voici le code que j'utilise si quelqu’un peux m'apporter une modification pour finaliser ma macro ça serai super.
Sub OuvrirBT()
'
Dim QuelFichier
QuelFichier = Application.GetOpenFilename()
ActiveCell.FormulaR1C1 = _
"=VLOOKUP(RC[-1],'[" & QuelFichier & "]Sheet1'!C3:C4,2,0)"
End Sub