Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 01-20-2012, 12:07 PM
Catalin.B Catalin.B is offline Return cuurent time when another cell is updated Windows Vista Return cuurent time when another cell is updated Office 2010 32bit
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

This is the way to get a good result
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim RNG As Range, cell
Set RNG = ActiveSheet.Range("A2:A10")
If Not Intersect(Target, RNG) Is Nothing Then
For Each cell In RNG
If Len(cell) > 0 And Not IsEmpty(cell) Then
cell.Offset(0, 1) = Now()
End If
Next cell
End If
End Sub
Attached Files
File Type: xlsm worksheet change.xlsm (18.2 KB, 9 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Return cuurent time when another cell is updated Cell formatting for time - Excel 2010 PomDave Excel 5 09-05-2011 10:49 PM
Item Already updated simon@resultsoftware.co.u Outlook 0 07-25-2011 04:30 AM
Return cuurent time when another cell is updated How can references be updated automatically? ezthelm Word 2 05-30-2011 03:45 AM
Return cuurent time when another cell is updated Add a period of time to a referenced "Time" cell? derelyth Excel 4 03-27-2011 04:31 PM
Outlook 2002 duplicating updated calendar events RMTony Outlook 0 12-29-2010 11:48 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft