View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kaon[_21_] kaon[_21_] is offline
external usenet poster
 
Posts: 1
Default Get filename only

Dear all,

How can I just return the filename only (i.e without path) as an
absolute path can be returned by:
fName = Application.GetOpenFilename(FileFilter:="All files (*.*),
*.*", _
Title:="Select a file",
MultiSelect:=False)

Thanks.


---
Message posted from http://www.ExcelForum.com/