Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 45
Default Track Changes - User / Time / Date

We have a spreadsheet that is shared between several users. It is used to
track specific calls that come in.

Every time a call comes in, the user goes into the spreadsheet and enters on
the next available line some of the customer information (i.e. name, address,
issue, etc). I would like to have it that every time the user starts a new
entry on a line, that the Username, Time, Date of the change automatically
appear in the first few columns, respectively, of the new row.

I started to make a formula where the user just enters the date and then I
had a "Now" formula that would automatically enter the time, but obviously,
that "Now" time would change every time the workbook is opened.

Any ideas? I have a feeling this will be more of a programming issue (which
is fine), just hoping for something to make this spreadsheet more fool-proof.
Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Track Changes - User / Time / Date

Hi,

You will need to use VBA.

Here is some sample code:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim isect As Range
Set isect = Application.Intersect(Target, Range("A1:A100"))
If Not isect Is Nothing Then
Cells(Target.Row, 2) = Date
Cells(Target.Row, 3) = Time
Cells(Target.Row, 4) = Application.UserName
End If
End Sub

1. To add this code to your file, press Alt+F11,
2. In the VBAProject window, top left side, find your sheet name under your
file name and double click it.
3. Paste in or type the code above.
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Keep It Simple Stupid" wrote:

We have a spreadsheet that is shared between several users. It is used to
track specific calls that come in.

Every time a call comes in, the user goes into the spreadsheet and enters on
the next available line some of the customer information (i.e. name, address,
issue, etc). I would like to have it that every time the user starts a new
entry on a line, that the Username, Time, Date of the change automatically
appear in the first few columns, respectively, of the new row.

I started to make a formula where the user just enters the date and then I
had a "Now" formula that would automatically enter the time, but obviously,
that "Now" time would change every time the workbook is opened.

Any ideas? I have a feeling this will be more of a programming issue (which
is fine), just hoping for something to make this spreadsheet more fool-proof.
Thanks in advance!

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
User name , date and time Rod Excel Discussion (Misc queries) 2 December 26th 07 01:03 AM
how to track the number of user accessing an .xls file Jatin Excel Worksheet Functions 0 August 28th 07 10:26 AM
Showing "Created by User, Date, Time" in Footer Mark Plaideau Excel Discussion (Misc queries) 0 April 9th 06 11:29 PM
Track time Lambo999 Excel Worksheet Functions 1 January 23rd 06 09:04 PM
Macro to record user name and date/time Maddoktor Excel Discussion (Misc queries) 0 December 8th 05 10:03 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"