Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default How to replace a / with - in a date

I'm using Date() to pull the current date. How do I replace the / with - ?

The reason I want to do this I want to attach this to a filename.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to replace a / with - in a date

=TEXT(cell_with_date,"yyyy-mm-dd")

or whatever date format you are using


--
Regards,

Peo Sjoblom



"pokdbz" wrote in message
...
I'm using Date() to pull the current date. How do I replace the / with -
?

The reason I want to do this I want to attach this to a filename.



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
find and replace for date format -D- Excel Discussion (Misc queries) 0 January 23rd 07 06:32 PM
Replace date 00.01.1900 Roar Excel Discussion (Misc queries) 4 January 3rd 07 01:52 PM
The Find or Replace will not work on a date. Don Excel Discussion (Misc queries) 4 September 30th 05 01:36 PM
Replace part of link address in a cell with a value(date) from ano Hakan Excel Discussion (Misc queries) 0 July 20th 05 12:39 PM
How do I replace dates earlier than certain date? Jose Martinez Excel Discussion (Misc queries) 4 April 29th 05 09:50 PM


All times are GMT +1. The time now is 01:12 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"