Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How to include the contents of a cell in a filename

How do I include the contents of a cell containing the date (which is
automatically updated) in the file name?

Hope I've asked clearly enough.

Thank you,
Leonard


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default How to include the contents of a cell in a filename

Leonard, see if something like this will help,
MyName = "My Sheet For " & Format(Range("A1"), "mm.dd.yyyy") & ".xls"
ActiveWorkbook.SaveAs Filename:=MyName
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **


"BARGAIN BIN" wrote in message
...
How do I include the contents of a cell containing the date (which is
automatically updated) in the file name?

Hope I've asked clearly enough.

Thank you,
Leonard




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup Cell Contents Filename deeds Excel Worksheet Functions 1 March 12th 07 07:21 PM
Macro to include contents of cell Matt Excel Discussion (Misc queries) 1 November 15th 05 03:51 AM
Update - Include cell contents in filename automatically Bryan Linton Excel Programming 1 September 3rd 04 07:08 PM
Automatically include contents of a cell in "Save As..." filename. Bryan Linton Excel Programming 1 September 1st 04 12:14 PM
cell contents as filename Jeff R Excel Programming 1 August 26th 04 03:02 PM


All times are GMT +1. The time now is 08:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"