Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Save as w/ Time Stamp

ActiveWorkbook.SaveAs Filename:= _
"UpLoad-" & Now & ".txt", _
FileFormat:=xlText, CreateBackup:=False

I am not seeing how to format the characters generated from €śNow€ť to allow a
valid save€¦

Perplexed,
Arturo
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Save as w/ Time Stamp

Depends what you wish to get.

"UpLoad-" & Format(Now, "YYYY-MM-DD-hh:mm") & ".txt"

will give you:

UpLoad-2005-02-22-11:29.txt


"Arturo" wrote in message
...
ActiveWorkbook.SaveAs Filename:= _
"UpLoad-" & Now & ".txt", _
FileFormat:=xlText, CreateBackup:=False

I am not seeing how to format the characters generated from "Now" to allow
a
valid save.

Perplexed,
Arturo



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Save as w/ Time Stamp

Thanks Steve.
I just needed to adjust the :
Arturo

"Steve" wrote:

Depends what you wish to get.

"UpLoad-" & Format(Now, "YYYY-MM-DD-hh:mm") & ".txt"

will give you:

UpLoad-2005-02-22-11:29.txt


"Arturo" wrote in message
...
ActiveWorkbook.SaveAs Filename:= _
"UpLoad-" & Now & ".txt", _
FileFormat:=xlText, CreateBackup:=False

I am not seeing how to format the characters generated from "Now" to allow
a
valid save.

Perplexed,
Arturo




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
Time Stamp Ken Excel Discussion (Misc queries) 2 May 5th 10 01:15 PM
Excel 2007 Changes date stamp on Save As Williams Excel Discussion (Misc queries) 4 November 6th 08 06:24 PM
Excel 2007 Changes date stamp on Save As Williams Excel Discussion (Misc queries) 3 October 7th 08 06:14 PM
product date stamp file save Robert Loxley Excel Discussion (Misc queries) 12 November 13th 06 02:48 PM
How can you save a spreadsheet with a date stamp. kenny Excel Worksheet Functions 1 May 15th 06 05:19 PM


All times are GMT +1. The time now is 01:13 AM.

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

About Us

"It's about Microsoft Excel"