View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mikecarpenter21 mikecarpenter21 is offline
external usenet poster
 
Posts: 1
Default when inserting a file name in a cell how do you remove file type

this is the formula I am using, but I would like for the file type "xls" on
the end not to be there


=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1,
SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)