I would like to get a time stamp that does NOT update upon recalc

G

Guest

Time() returns the current time but upon every keystroke or recalculation it
updates. I would like a non-updating time stamp every time I enter a number
into an adjacent cell.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...17a9a5f&dg=microsoft.public.excel.programming
 
B

Bob Phillips

Ctrl-Shift-:

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

Peggy said:
Time() returns the current time but upon every keystroke or recalculation it
updates. I would like a non-updating time stamp every time I enter a number
into an adjacent cell.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/office/com...17a9a5f&dg=microsoft.public.excel.programming
 
P

PaulD

: Time() returns the current time but upon every keystroke or recalculation
it
: updates. I would like a non-updating time stamp every time I enter a
number
: into an adjacent cell.
:
Try something like this.
Place this formula in the cell you want the time stamp in

=IF(ISBLANK(A1),"",TimeStamp())

replace A1 with the cell you want to use to change the stamp
then create a code module with this function

Public Function TimeStamp()
TimeStamp = Time()
End Function

Paul D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top