Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default if a cell value changes, update date in another cell.

First, I have received two responces and when I've opened them there is
nothing there. I am tring now my home email thinking that our "IT" people
have blocked the responces somehow.

If I update cell B5 with a new $ amount, I need only cell C5 to update to
the current date. Column B are all $ amounts and column C are all dates. Im
just a beginner so please keep it simple. Looks like Excel for dummies is
too complicated.

Any other ideas why the responces are blank?????
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default if a cell value changes, update date in another cell.

Hi,

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

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Or IsEmpty(Target) Then Exit Sub
Lastrow = Cells(Cells.Rows.Count, "B").End(xlUp).Row
If Not Intersect(Target, Range("B1:B" & Lastrow)) Is Nothing Then
Application.EnableEvents = False
Target.Offset(, 1) = Format(Now, "dd/mm/yyyy")
Application.EnableEvents = True
End If
End Sub

Mike

"Dave" wrote:

First, I have received two responces and when I've opened them there is
nothing there. I am tring now my home email thinking that our "IT" people
have blocked the responces somehow.

If I update cell B5 with a new $ amount, I need only cell C5 to update to
the current date. Column B are all $ amounts and column C are all dates. Im
just a beginner so please keep it simple. Looks like Excel for dummies is
too complicated.

Any other ideas why the responces are blank?????

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default if a cell value changes, update date in another cell.


=if(b2<"",today(),"")

remember that today() will put the current date, if you want to fix the date
that the $ where typed, you have to copy and past special as number, on the
c2.

hth
--
pleae click yes if it was helpfull
regards from Brazil
Marcelo



"Dave" escreveu:

First, I have received two responces and when I've opened them there is
nothing there. I am tring now my home email thinking that our "IT" people
have blocked the responces somehow.

If I update cell B5 with a new $ amount, I need only cell C5 to update to
the current date. Column B are all $ amounts and column C are all dates. Im
just a beginner so please keep it simple. Looks like Excel for dummies is
too complicated.

Any other ideas why the responces are blank?????

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
if a cell value changes, update date in another cell. Dave Excel Discussion (Misc queries) 1 June 8th 09 08:05 PM
Automatically update a cell with a date based on anther cells date GPR GUY Excel Discussion (Misc queries) 2 November 3rd 08 03:57 PM
Update a date cell when a target cell change.... chongcc Excel Discussion (Misc queries) 5 April 20th 07 01:02 AM
Populating Last Saved Date in Cell AND also update that same cell in Header o0o_Bigs_o0o Excel Discussion (Misc queries) 2 July 4th 06 12:56 PM
How to update a cell if a specific date is included in a date rang mgavidia Setting up and Configuration of Excel 2 October 8th 05 12:53 AM


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