View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Excel Filename prgramatically

Hi
strThisFileName = Activeworkbook.name

--
Regards
Frank Kabel
Frankfurt, Germany


Mike D wrote:
I have a line of code:

strThisFileName = "MY Excel FileName.xls"

How do I set my variable to the current excel filename?

strThisFileName = Workbooks.??

Thanks
Mike