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/comm...el.programming
ctrl shft ;
Peggy wrote:
> 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/comm...el.programming
Ctrl-Shift-:
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"Peggy" <Peggy@discussions.microsoft.com> wrote in message
news:CCB80D9C-0AA7-4E57-81C7-4878E17A9A5F@microsoft.com...
> 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/comm...el.programming
"Peggy" <Peggy@discussions.microsoft.com> wrote in message
news:CCB80D9C-0AA7-4E57-81C7-4878E17A9A5F@microsoft.com...
: 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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks