Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 129
Default Automatic Date Stamp

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Automatic Date Stamp

Look he

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

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Neon520" wrote in message
...
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 129
Default Automatic Date Stamp

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 he

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

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Neon520" wrote in message
...
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


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,836
Default Automatic Date Stamp

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 he

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

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Neon520" wrote in message
...
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
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
Separating date from a Date & Time stamp JT Excel Discussion (Misc queries) 9 June 10th 08 05:55 PM
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Excel Discussion (Misc queries) 8 January 18th 06 06:52 PM
Create a button that will date stamp todays date in a cell Tom Meacham Excel Discussion (Misc queries) 3 January 11th 06 01:08 AM
Date stamp spreadsheet in excel to remind me of completion date Big fella Excel Worksheet Functions 1 October 18th 05 04:10 PM
How do I set an automatic date stamp into a cell in Excel? Nilla_Brown Excel Worksheet Functions 1 May 6th 05 06:18 PM


All times are GMT +1. The time now is 04:11 AM.

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"