Date

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,459
Office Version
  1. 2007
Platform
  1. Windows
hello,

could you please help me out once again.

this time i have the following problem with excel

i need a date to be shown when entering data

eg. A2 i enter a part number and B2,C2,D2 have other information in

i would like cell E2 to automatically show that current date ie(05/10/06)

BUT

when i open the spreadsheet next time i would like 05.10.06 to remain on those lines i entered then and any new lines i enter now i would like the new date to be shown

i tried =NOW() but this only shows the date when i open the spreadsheet

Kind regards

ExcelRoy
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Border Terrier

New Member
Joined
Aug 31, 2005
Messages
23
Not sure if this is the sort of thing you are after, but give it a try.
Took this from something similar to your own sheet, there may well be a simpler way, but this works ok for me.

Private Sub Worksheet_Change(ByVal Target As Range)
For Each Chged In Target
If (Chged.Column = 1) Then
If (Chged.Row > 1) Then
If (Chged = "") Then
Chged.Offset(, 1) = ""
Else
Chged.Offset(, 4) = " " & Format(Now(), "d/m/yyyy")
End If
End If
End If
Next
End Sub


Hope it's of some help.
Simon
 

Forum statistics

Threads
1,136,612
Messages
5,676,800
Members
419,651
Latest member
alexanderguhr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top