View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ian[_4_] Ian[_4_] is offline
external usenet poster
 
Posts: 85
Default Find filename of open file

I've tried, and failed, to successfully open a template as an xlt file
(rather than xls) so I'm trying a different method to achieve what I need.

My problem is this. Having opened a couple of files, I want to activate a
specific one. Based on template filename.xlt, the workbook _should_ be
filename1.xls, but this is not necessarily going to be the case. How can I
determine the filename of the open file? I can't use Dir as the file hasn't
been saved at this point.

Any ideas?

Ian