View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Alchemist Alchemist is offline
external usenet poster
 
Posts: 5
Default Filename without dir & sheet name

Tried =cell("filename",ref) but could not find how to remove the entire
directory and the worksheet name.

I only require the .xls filename without the sheet name.
ie. "c:\..\Template.xls[worksheet]" becomes "Template" only.

Excel help no help and searched here but nothing appeared similar.