A voir également:
- VBA : fonction lookup, spécification fichier
- Excel compter cellule couleur sans vba - Guide
- Incompatibilité de type vba ✓ - Forum VB / VBA
- Erreur 13 incompatibilité de type VBA excel ✓ - Forum Excel
- Mkdir vba ✓ - Forum VB / VBA
- Vba range avec variable ✓ - Forum VB / VBA
1 réponse
yg_be
Messages postés
23541
Date d'inscription
Statut
Contributeur
Dernière intervention
Ambassadeur
1 584
dim monfichier as string
monfichier="ass janvier 2008.xls"
Range("D4").FormulaR1C1 = _
"=LOOKUP(10000,'["+monfichier+"]Feuil1'!C13,'["+monfichier+"]Feuil1'!C34)"
monfichier="ass janvier 2008.xls"
Range("D4").FormulaR1C1 = _
"=LOOKUP(10000,'["+monfichier+"]Feuil1'!C13,'["+monfichier+"]Feuil1'!C34)"