#1   Report Post  
Dimitris from Greece
 
Posts: n/a
Default Save As style

I run every day a workbook and I need to save it (using a macro) with name,
the date value, e.g. 20041231.xls
I can do that? Which is the syntax for this macro?

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try something like
activeworkbook.saveas filename:=format(date,"yyymmdd") & ".xls"


--
Regards
Frank Kabel
Frankfurt, Germany

Dimitris from Greece wrote:
I run every day a workbook and I need to save it (using a macro) with
name, the date value, e.g. 20041231.xls
I can do that? Which is the syntax for this macro?



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
Save & Save As features in file menu of Excel Blue Excel Discussion (Misc queries) 9 December 27th 04 08:49 PM
Missing "Save" and "Save As" functions EMSchon Excel Discussion (Misc queries) 2 December 27th 04 08:01 PM
Excel crashing on save as Roundy Excel Discussion (Misc queries) 1 December 10th 04 10:45 PM
can't save newly opened files Rasoul Khoshravan Excel Discussion (Misc queries) 1 December 9th 04 07:27 AM
How do I save a record from an excel template to a database in a . Fred Smith Excel Discussion (Misc queries) 1 November 30th 04 01:49 PM


All times are GMT +1. The time now is 08:30 AM.

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"