Link to home
Create AccountLog in
Avatar of Rdichpally
RdichpallyFlag for United States of America

asked on

Excel Audit

I need to insert the present date automatically on the excel spreadsheet whenever anyone  inserts new data into a cell on excel. Any help is appreciated.
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Link to home
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Rdichpally



Is this a macro that I need to write. Can you please eloborate on the solition. Thanks.


yes it is a macro, but you can just copy and paste it into your file. Right-click the sheet tab, select View Code and paste the code into the code window. Now whenever any cell gets changed in the sheet, A1 will be updated with the current date and B1 with the current time. You can change A1 and B1 to different cells, of course.

cheers, teylyn
part solution