Hi all i would like to extract certain section of text.
The text is
myfolder = "C:\TestImage\di2548\19Oct2001"
So far i can retrieve 19Oct2001 with this code
strFolderTreatDate = Mid$(myfolder, InStrRev(myfolder, "\") + 1)
How do i adapt this code so i can get di2548.
many thanks
The text is
myfolder = "C:\TestImage\di2548\19Oct2001"
So far i can retrieve 19Oct2001 with this code
strFolderTreatDate = Mid$(myfolder, InStrRev(myfolder, "\") + 1)
How do i adapt this code so i can get di2548.
many thanks