PC Review


Reply
Thread Tools Rate Thread

DATE-FORMATTING TO DISPLAY CELL CHANGES ONLY

 
 
Terry
Guest
Posts: n/a
 
      19th Feb 2007

I am in XP-SP2 with XL 2003.

I would like to know when a change is made to any cell on the sheet,
but not every time I open the sheet to consult. It appears that a
recalc is made upon opening.

Anything I can do about that?

Many TIA--Terry
Terry--WB4FXD
Edenton, NC
 
Reply With Quote
 
 
 
 
JE McGimpsey
Guest
Posts: n/a
 
      19th Feb 2007
One way:

Put this in your worksheet code module (right-click the worksheet tab
and choose View Code:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Range("A1")
Application.EnableEvents = False
.NumberFormat = "dd mmm yyyy hh:mm:ss"
.Value = Now
Application.EnableEvents = True
End With
End Sub



In article <(E-Mail Removed)>,
(E-Mail Removed) (Terry) wrote:

> I am in XP-SP2 with XL 2003.
>
> I would like to know when a change is made to any cell on the sheet,
> but not every time I open the sheet to consult. It appears that a
> recalc is made upon opening.
>
> Anything I can do about that?
>
> Many TIA--Terry
> Terry--WB4FXD
> Edenton, NC

 
Reply With Quote
 
Terry
Guest
Posts: n/a
 
      20th Feb 2007
On Mon, 19 Feb 2007 14:26:07 -0700, JE McGimpsey
<(E-Mail Removed)> wrote:

=>One way:
=>
=>Put this in your worksheet code module (right-click the worksheet
tab
=>and choose View Code:
=>
=> Private Sub Worksheet_Change(ByVal Target As Excel.Range)
=> With Range("A1")
=> Application.EnableEvents = False
=> .NumberFormat = "dd mmm yyyy hh:mm:ss"
=> .Value = Now
=> Application.EnableEvents = True
=> End With
=> End Sub

It appears to be working! Thanks so much. You guys are great!!

Cheers--T

=>
=>
=>
=>In article <(E-Mail Removed)>,
=> (E-Mail Removed) (Terry) wrote:
=>
=>> I am in XP-SP2 with XL 2003.
=>>
=>> I would like to know when a change is made to any cell on the
sheet,
=>> but not every time I open the sheet to consult. It appears that a
=>> recalc is made upon opening.
=>>
=>> Anything I can do about that?
=>>
=>> Many TIA--Terry
=>> Terry--WB4FXD
=>> Edenton, NC

Terry--WB4FXD
Edenton, NC
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditional formatting for cell date to equal today's date =?Utf-8?B?U2lzdGVyZWluc3RlaW4=?= Microsoft Excel Worksheet Functions 1 14th Nov 2006 09:24 PM
formatting a cell to display the correct date. =?Utf-8?B?TGVl?= Microsoft Excel Misc 1 23rd Feb 2006 04:04 PM
Need func to display a cell + formatting in another cell =?Utf-8?B?anF1aWV0?= Microsoft Excel Programming 4 2nd Oct 2004 12:52 AM
Default display of sample date in linked workbook with blank date in source cell Barbara Martens Microsoft Excel Worksheet Functions 2 15th Apr 2004 10:15 PM
Formatting Problem-Highlighting a cell when date has expired past current date alancyoung Microsoft Excel Misc 1 19th Feb 2004 05:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:18 PM.