Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default using best approach for activecell property

hi
i need to build with excel an option to put time signiture after an
update of another cell
the relevant way i need is for every cell that was inputed i need
right a way to put a time signiture in the offset of 1 column,the
problem is that the selectionchange or change function are working
after the information was added or before any inputs made
is it posible to have the information once it was just inputted?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default using best approach for activecell property

Hi,

I don't follow your coments on when change event code works but this may do
what you want. Right click the sheet tab, view code and paste it in. Works on
Column A so change to suit.

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

Mike

"thread" wrote:

hi
i need to build with excel an option to put time signiture after an
update of another cell
the relevant way i need is for every cell that was inputed i need
right a way to put a time signiture in the offset of 1 column,the
problem is that the selectionchange or change function are working
after the information was added or before any inputs made
is it posible to have the information once it was just inputted?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default using best approach for activecell property

thank you very much,it realy worked for me....

On 17 ספטמבר, 22:04, Mike H wrote:
Hi,

I don't follow your coments on when change event code works but this may do
what you want. Right click the sheet tab, view code and paste it in. Works on
Column A so change to suit.

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

Mike



"thread" wrote:
hi
i need to build with excel an option to put time signiture after an
update of another cell
the relevant way i need is for every cell that was inputed i need
right a way to put a time signiture in the offset of 1 column,the
problem is that the selectionchange or change function are working
after the information was added or before any inputs made
is it posible to have the information once it was just inputted?-הסתר טקסט מצוטט-


-הראה טקסט מצוטט-


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
How do I use the .Cells property to refer to ActiveCell? Caeres Excel Discussion (Misc queries) 9 October 7th 08 02:56 PM
Range Select with ActiveCell and Offset property AJ Master[_9_] Excel Programming 2 June 20th 06 11:26 PM
Using The Value property of the ActiveCell object Almamba Excel Programming 3 February 21st 05 06:38 PM
ActiveCell.CurrentRegion property Microsoft Forum Excel Programming 4 January 11th 05 02:43 PM
Equivalent ActiveCell.Id property for Excel97 Rick De Marco Excel Programming 1 June 18th 04 02:28 PM


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