Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Display Current Date & Time in a cell: Everytime I open the wo

no you're not. the following are forbidden by excel as file nameing
convictions.......
: / \ * [ ]
make a note.
the slashes in the date are forbidden by dos becasue dos would interpet them
as switches and do weird thing or throw up errors.
instead of using the "date in a cell" method, use something like this in
your nameing code....
timestamp = Format(Month(Now), "00") & Format(Day(Now), "00") & _
Format(Year(Now), "0000") & "_" & Format(Hour(Now), "00") _
& ":" & Format(Minute(Now), "00")

or similar.

nice time to bring up..."oh! i forgot to mention......."

FSt1
geez

"sam" wrote:

Hey FSt1, I forgot to mention one thing.. I am going to save the file with
date and time stamp(from that cell). But I dont want the date and time value
to update with current date and time when I open any previous saved file.
Sorry for the confusion before

Hope I made it clear

THanks in advance

"FSt1" wrote:

hi
in any cell you wish, enter........
=now()

the cell will update each time the workbook is opened or the sheet is
calculated.
formula is volital meaning it don't stay the same for long.
if you just want the date without time..
=today()

regards
FSt1


regards
FSt1




"sam" wrote:

Hi All,

Is there a way I can display Current Date & Time in a cell which updates
everytime I open the workbook?

Thanks in Advance

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
Display Current Date & Time in a cell: Everytime I open the workbo sam Excel Worksheet Functions 4 September 3rd 09 11:30 PM
Why are my Add-In formulas recalculating everytime I open a workbo J. Caplan[_2_] Excel Programming 7 July 18th 08 03:47 PM
Keep original header date everytime I open, it always changes. Momma Bear Excel Discussion (Misc queries) 1 June 6th 07 03:45 PM
How do I code a cell to display the current date on double-click? George[_27_] Excel Programming 6 December 10th 06 09:26 AM
how do I display username, current time & date on the status bar Gary Tan Excel Programming 4 July 25th 06 06:29 AM


All times are GMT +1. The time now is 12:44 PM.

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"