VBA excel reconnaissance fichier courant

davidouz Messages postés 24 Date d'inscription lundi 17 mai 2004 Statut Membre Dernière intervention 28 juin 2004 - 16 juin 2004 à 10:49
HFanny Messages postés 699 Date d'inscription mercredi 19 février 2003 Statut Membre Dernière intervention 13 mai 2011 - 16 juin 2004 à 10:57
davidouz
LUT, j'aimerais savoir comment faire pour reconnaitre le fichier excel ou l'on est.

1 réponse

HFanny Messages postés 699 Date d'inscription mercredi 19 février 2003 Statut Membre Dernière intervention 13 mai 2011 20
16 juin 2004 à 10:57
Bonjour,

Qu'entends-tu par : fichier excel où l'on est ?
Le chemin ? ou le nom du fichier Excel ?

'le chemin :
MsgBox ActiveWorkbook.Path
'le nom :
MsgBox ActiveWorkbook.Name


Fanny
0
Rejoignez-nous