/source/1681-obtenir-le-nom-de-fichier-a-partir-du-chemin-complet
Vous batez pas ya plus simple encore http://www.vbfrance.com/article.asp?Val=3450
/source/1689-extraction-du-nom-fichier-d-une-chaine-path
La ya pas les SLASH vas voir mon code plutôt "http://www.vbfrance.com/article.asp?Val=3450"
Ya plus simple: Dim chaine As String Dim fichier As String chaine = "c:winntsystem.ini" fichier = Right(chaine, Len(chaine) - InStrRev(chaine, "", -1, 1))
/source/2139-separer-le-nom-du-fichier-de-son-chemin-sous-access
J'ai encore plus simple: Dim chaine As String Dim fichier As String chaine = "c: oto.txt" fichier = Right(chaine, Len(chaine) - InStrRev(chaine, "", -1, 1))