Date

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
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
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,855
Members
449,096
Latest member
Erald

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
Back
Top