P
Pimple
Guest
'Glop,
J'ai un p'tit pb avec la fonction match en vb.
J'ai besoin de rendre la matrice de recherche variable selon le client que je traite, je m'explique:
je voudrais faire ça:
Dim NomClient as string
Dim Matrice as string
Dim MyPath as string
Dim MatriceClient as string
Dim Onglet as string
Dim Fichier as string
Dim Repertoire as string
' Repertoire, fichier, onglet et MatriceClient varie en fonction de l'emplacement du fichier ds lequel il faut aller chercher l'info
MyPath = CurDir
Matrice = MyPath & Repertoire & Fichier & onglet & MatriceClient
ActiveCell = Match(NomClient, Matrice,0)
ça bloque lors de l'exécutoin de la fonction match.
Qlq peut m'aider? inch:
J'ai un p'tit pb avec la fonction match en vb.
J'ai besoin de rendre la matrice de recherche variable selon le client que je traite, je m'explique:
je voudrais faire ça:
Dim NomClient as string
Dim Matrice as string
Dim MyPath as string
Dim MatriceClient as string
Dim Onglet as string
Dim Fichier as string
Dim Repertoire as string
' Repertoire, fichier, onglet et MatriceClient varie en fonction de l'emplacement du fichier ds lequel il faut aller chercher l'info
MyPath = CurDir
Matrice = MyPath & Repertoire & Fichier & onglet & MatriceClient
ActiveCell = Match(NomClient, Matrice,0)
ça bloque lors de l'exécutoin de la fonction match.
Qlq peut m'aider? inch: