Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Automatic Time from text

Never mind thanks, I saved the document closed excel and re-opened it and it
worked fine.

Thank you so much

"Mike H" wrote:

Hi,

Right click your sheet tab, view code and paste this in

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Or IsEmpty(Target) Then Exit Sub
If Not Intersect(Target, Range("B:B")) Is Nothing Then
Application.EnableEvents = False
Target.Offset(, -1).Value = Time
Application.EnableEvents = True
End If
End Sub

Mike

"Jakes" wrote:

I have an excel document used for tracking all incoming calls, Every time a
call comes in and the name is entered into column B I would like a script to
automatically enter the time into column A.

Thanks in advance for the advice

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
Trade Time Help Automatic Subtraction Mcfarlandb Excel Discussion (Misc queries) 0 April 25th 07 09:16 PM
Overlapping time calculations and automatic time updates Arlette Excel Worksheet Functions 1 December 9th 06 12:20 AM
Automatic time conversion in the SAME cell megs Excel Discussion (Misc queries) 8 November 19th 06 06:19 PM
Automatic date and time updation Qlychap Excel Discussion (Misc queries) 12 July 21st 06 02:57 PM
automatic time plans jammy20466 Excel Discussion (Misc queries) 0 June 27th 06 09:34 AM


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