Extracting filename
Thanks Chaps
--
Cheers
Nigel
wrote in message
oups.com...
To get myfile.xls use:-
FileNm = activeWorkbook.Name
If it's the file extention you want (ie xls):-
Extn = Right(ActiveWorkbook.Name, 3)
Hope those work as haven't tryed them!
|