PC Review


Reply
Thread Tools Rate Thread

Automatic Date Stamp

 
 
Neon520
Guest
Posts: n/a
 
      14th Jan 2009
Hi Everyone,

Is there a way to put in "DATE STAMP" in a Column if someone is modifying a
particular row?
Let's say if someone is modifying Row 10 of Any Column A-F, then put in a
Date Stamp that say "Modified by Username <DATE>". I believe the username
can be pull off from the username of the Excel Application.
And this Date Stamp should be automatically updated if another person make
any modification to Row 10 again.

Thanks for any suggestion.

Neon520
 
Reply With Quote
 
 
 
 
Niek Otten
Guest
Posts: n/a
 
      14th Jan 2009
Look here:

http://www.mcgimpsey.com/excel/timestamp.html

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Neon520" <(E-Mail Removed)> wrote in message
news:AFEAE73A-BF57-4BFD-B444-(E-Mail Removed)...
> Hi Everyone,
>
> Is there a way to put in "DATE STAMP" in a Column if someone is modifying
> a
> particular row?
> Let's say if someone is modifying Row 10 of Any Column A-F, then put in a
> Date Stamp that say "Modified by Username <DATE>". I believe the username
> can be pull off from the username of the Excel Application.
> And this Date Stamp should be automatically updated if another person make
> any modification to Row 10 again.
>
> Thanks for any suggestion.
>
> Neon520


 
Reply With Quote
 
Neon520
Guest
Posts: n/a
 
      14th Jan 2009
Hi Niek,

Thank you for the link you posted.
Can you make a small change to the code so that the Date Stamp stay in a
certain assigned column range, instead of using the Offset?

I tried using Range ("C2:C10") but then the Date Stamp show up the whole
range instead of BASE upon the data entry of each row.

Thank you,
Neon520


"Niek Otten" wrote:

> Look here:
>
> http://www.mcgimpsey.com/excel/timestamp.html
>
> --
> Kind regards,
>
> Niek Otten
> Microsoft MVP - Excel
>
> "Neon520" <(E-Mail Removed)> wrote in message
> news:AFEAE73A-BF57-4BFD-B444-(E-Mail Removed)...
> > Hi Everyone,
> >
> > Is there a way to put in "DATE STAMP" in a Column if someone is modifying
> > a
> > particular row?
> > Let's say if someone is modifying Row 10 of Any Column A-F, then put in a
> > Date Stamp that say "Modified by Username <DATE>". I believe the username
> > can be pull off from the username of the Excel Application.
> > And this Date Stamp should be automatically updated if another person make
> > any modification to Row 10 again.
> >
> > Thanks for any suggestion.
> >
> > Neon520

>

 
Reply With Quote
 
ryguy7272
Guest
Posts: n/a
 
      14th Jan 2009
This is event code; it needs to go under the sheet that you are working on:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Target, Range("$A$1:$b$400")) Is Nothing Then
Application.EnableEvents = False
Application.ScreenUpdating = False
With Worksheets("Sheet2")
.Select
.Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Select
ActiveCell.Value = Target.Address
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = Target.Value
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = Now()
ActiveCell.NumberFormat = "mm/dd/yy"
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = InputBox("You've made a change to the Rates tab.
Please enter your name here for historical purposes.")
Application.EnableEvents = True
Application.ScreenUpdating = True
End With
End If
End Sub

....reset the target range.

HTH,
Ryan---
--
RyGuy


"Neon520" wrote:

> Hi Niek,
>
> Thank you for the link you posted.
> Can you make a small change to the code so that the Date Stamp stay in a
> certain assigned column range, instead of using the Offset?
>
> I tried using Range ("C2:C10") but then the Date Stamp show up the whole
> range instead of BASE upon the data entry of each row.
>
> Thank you,
> Neon520
>
>
> "Niek Otten" wrote:
>
> > Look here:
> >
> > http://www.mcgimpsey.com/excel/timestamp.html
> >
> > --
> > Kind regards,
> >
> > Niek Otten
> > Microsoft MVP - Excel
> >
> > "Neon520" <(E-Mail Removed)> wrote in message
> > news:AFEAE73A-BF57-4BFD-B444-(E-Mail Removed)...
> > > Hi Everyone,
> > >
> > > Is there a way to put in "DATE STAMP" in a Column if someone is modifying
> > > a
> > > particular row?
> > > Let's say if someone is modifying Row 10 of Any Column A-F, then put in a
> > > Date Stamp that say "Modified by Username <DATE>". I believe the username
> > > can be pull off from the username of the Excel Application.
> > > And this Date Stamp should be automatically updated if another person make
> > > any modification to Row 10 again.
> > >
> > > Thanks for any suggestion.
> > >
> > > Neon520

> >

 
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
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Microsoft Excel Misc 8 18th Jan 2006 06:52 PM
How do I set an automatic date stamp into a cell in Excel? =?Utf-8?B?TmlsbGFfQnJvd24=?= Microsoft Excel Worksheet Functions 1 6th May 2005 06:18 PM
date stamp Can I add a date stamp in a Text or Memo Field =?Utf-8?B?TWljaGFlbCBM?= Microsoft Access Database Table Design 10 11th Apr 2005 02:29 AM
More on the automatic time stamp... Da Mann Microsoft Excel Discussion 1 23rd Oct 2003 11:23 PM
Automatic time stamp Da Mann Microsoft Excel Discussion 4 22nd Oct 2003 10:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:03 PM.