Bonjour le forum,
Après recherche pour créer une recherche vers un classeur fermé avec un nom d'onglet variable mais je bloque ...
La formule sans variable fonctionne sans problème :
=RECHERCHEV(C2;'E:\SECRETARIAT\05_SPORTIF\01_CHAMPIONNATS\2_RESULTATS\2_LIGUE\FICHIERS_COMPETITIONS\N1\[DPT_CLASSEMENT_N1.xlsm]MBEN'!$C$2:$G$650;5;FAUX)
La variable concerne le nom de l'onglet que je reprends en colonne 1 :
J'ai donc tenté :
=RECHERCHEV(C2;"'E:\SECRETARIAT\05_SPORTIF\01_CHAMPIONNATS\2_RESULTATS\2_LIGUE\FICHIERS_COMPETITIONS\N1\[DPT_CLASSEMENT_N1.xlsm]"&A2&"'!$C$2:$G$650";5;FAUX)
Idem en remplaçant A2 par "MBEN"
Mais j'ai l'impression que la concaténation perturbe l'ensemble.
Avec INDIRECT j'ai essayé :
=RECHERCHEV(C2;INDIRECT("'E:\SECRETARIAT\05_SPORTIF\01_CHAMPIONNATS\2_RESULTATS\2_LIGUE\FICHIERS_COMPETITIONS\N1\[DPT_CLASSEMENT_N1.xlsm]"&A2&"'!$C$2:$G$650");5;FAUX)
Mais toujours pas ! Un problème de synthase peut être ?
Merci d'avance pour votre aide
Bon dimanche à tous
Yannlion
Après recherche pour créer une recherche vers un classeur fermé avec un nom d'onglet variable mais je bloque ...
La formule sans variable fonctionne sans problème :
=RECHERCHEV(C2;'E:\SECRETARIAT\05_SPORTIF\01_CHAMPIONNATS\2_RESULTATS\2_LIGUE\FICHIERS_COMPETITIONS\N1\[DPT_CLASSEMENT_N1.xlsm]MBEN'!$C$2:$G$650;5;FAUX)
La variable concerne le nom de l'onglet que je reprends en colonne 1 :
J'ai donc tenté :
=RECHERCHEV(C2;"'E:\SECRETARIAT\05_SPORTIF\01_CHAMPIONNATS\2_RESULTATS\2_LIGUE\FICHIERS_COMPETITIONS\N1\[DPT_CLASSEMENT_N1.xlsm]"&A2&"'!$C$2:$G$650";5;FAUX)
Idem en remplaçant A2 par "MBEN"
Mais j'ai l'impression que la concaténation perturbe l'ensemble.
Avec INDIRECT j'ai essayé :
=RECHERCHEV(C2;INDIRECT("'E:\SECRETARIAT\05_SPORTIF\01_CHAMPIONNATS\2_RESULTATS\2_LIGUE\FICHIERS_COMPETITIONS\N1\[DPT_CLASSEMENT_N1.xlsm]"&A2&"'!$C$2:$G$650");5;FAUX)
Mais toujours pas ! Un problème de synthase peut être ?
Merci d'avance pour votre aide
Bon dimanche à tous
Yannlion
Dernière édition: