Active Folder Name

S

sgl

Hi all,
How do you find the name of the "active folder" not the whole CurDir path
just the folder name which can be used to validate if user is in the correct
folder.

many thanks/sgl
 
J

Jacob Skaria

Try

Msgbox Mid(curdir,InstrRev(CurDir,"\")+1)

If this post helps click Yes
 
Top