Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Show date in cell if data changes

Hi folks, not sure if this is the right forum (maybe worksheet functions?)

Basically I have a worksheet in which I enter scores, and from this produce
a table.

I would like to display in a cell below the scores matrix, a date when I
enter new scores - IE so that I can keep track of when I last updated the
scores matrix.

Possible?

Thanks
Neil


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Show date in cell if data changes

Hi
have a look at
http://www.mcgimpsey.com/excel/timestamp.html

--
Regards
Frank Kabel
Frankfurt, Germany


Neil G wrote:
Hi folks, not sure if this is the right forum (maybe worksheet
functions?)

Basically I have a worksheet in which I enter scores, and from this
produce a table.

I would like to display in a cell below the scores matrix, a date
when I enter new scores - IE so that I can keep track of when I last
updated the scores matrix.

Possible?

Thanks
Neil

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Show date in cell if data changes

Thanks

I looked at the page, and tried adapting your Alternate 2 to this
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Target
If .Count 1 Then Exit Sub
If Not Intersect(Range("B2:U11"), .Cells) Is Nothing Then
Application.EnableEvents = False
With .Cells(14, 1)
.NumberFormat = "dd mmm yyyy"
.Value = Date
End With
Application.EnableEvents = True
End If
End With
End Sub

However, this just puts a date in 14, 1 offset from EVERY change I make in
the area B2:U11
What I actually want, is only one date to be displayed for any changes made
in that area in Cel A14 ONLY.
I'm not really any good with vbs. Can anyone suggest a mod to make it work
please.
I'll search the archievs meantime to see if I can work it out

Thanks
Neil
"Frank Kabel" wrote in message
...
Hi
have a look at
http://www.mcgimpsey.com/excel/timestamp.html

--
Regards
Frank Kabel
Frankfurt, Germany


Neil G wrote:
Hi folks, not sure if this is the right forum (maybe worksheet
functions?)

Basically I have a worksheet in which I enter scores, and from this
produce a table.

I would like to display in a cell below the scores matrix, a date
when I enter new scores - IE so that I can keep track of when I last
updated the scores matrix.

Possible?

Thanks
Neil



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Show date in cell if data changes

So if you change anything in B2:U11, then you want to change A14?

If yes, then change this:

With .Cells(14, 1)
to
With me.Cells(14, 1)

the me refers to the worksheet that owns the code--so it'll always points at
A14.

Neil G wrote:

Thanks

I looked at the page, and tried adapting your Alternate 2 to this
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
With Target
If .Count 1 Then Exit Sub
If Not Intersect(Range("B2:U11"), .Cells) Is Nothing Then
Application.EnableEvents = False
With .Cells(14, 1)
.NumberFormat = "dd mmm yyyy"
.Value = Date
End With
Application.EnableEvents = True
End If
End With
End Sub

However, this just puts a date in 14, 1 offset from EVERY change I make in
the area B2:U11
What I actually want, is only one date to be displayed for any changes made
in that area in Cel A14 ONLY.
I'm not really any good with vbs. Can anyone suggest a mod to make it work
please.
I'll search the archievs meantime to see if I can work it out

Thanks
Neil
"Frank Kabel" wrote in message
...
Hi
have a look at
http://www.mcgimpsey.com/excel/timestamp.html

--
Regards
Frank Kabel
Frankfurt, Germany


Neil G wrote:
Hi folks, not sure if this is the right forum (maybe worksheet
functions?)

Basically I have a worksheet in which I enter scores, and from this
produce a table.

I would like to display in a cell below the scores matrix, a date
when I enter new scores - IE so that I can keep track of when I last
updated the scores matrix.

Possible?

Thanks
Neil


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Show date in cell if data changes

Dave

Yes, that was exactly it. Thanks very much
Neil

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


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
In adjacent cell, show last date modified of target cell. manxman Excel Discussion (Misc queries) 0 March 17th 06 10:47 PM
Show current date in cell Alex01 Excel Discussion (Misc queries) 4 February 24th 06 06:45 PM
How do I show the day and date in excel in the same cell sharkey Excel Discussion (Misc queries) 2 February 24th 06 12:51 AM
How do I show the day and date in excel in the same cell Toppers Excel Discussion (Misc queries) 0 February 23rd 06 01:41 PM
How do I show the day and date in excel in the same cell Ron Coderre Excel Discussion (Misc queries) 0 February 23rd 06 01:40 PM


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