Thread: This File Name
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default This File Name

Phatchef24 is that you?

--
Regards,
Tom Ogilvy

"theillknight " wrote in
message ...
Hi,

Is there a way to create a dynamic filename?

For instance, if I want to create a macro that did:

Windows("THISFILENAME").Activate

but I saved the file under a different name, I would have to edit the
macro or I would get a subscript out of range error. Any help would be
greatly appreciated.

Thanks.


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