Last Changed Date for a given sheet

Pivot

New Member
Joined
Oct 27, 2002
Messages
13
Hi,

I've created a workbook for the CEO with multiple sheets. Each sheet is for a seperate department.

The CEO has a summary sheet that pulls through data from the department sheets. So far so good.

The CEO now wants to know when each sheet was last updated, so that he can see if all the managers have updated recently.

Ideally I'd like to be able to store the last updated date/time somewhere on the individual sheets so that I can pull it back to the summary page.

Any help would be greatly appreciated. I've scanned the forum for a solution but haven't found anything.

Thanks
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You could use something like this which goes in the ThisWorkbook module

Code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Application.EnableEvents = False
Range("A1").Value = Now
Application.EnableEvents = True
End Sub
 
Upvote 0
You could use something like this which goes in the ThisWorkbook module

Code:
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Application.EnableEvents = False
Range("A1").Value = Now
Application.EnableEvents = True
End Sub

Spot on, thanks so much Peter
Regards
Mark
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,262
Members
448,953
Latest member
Dutchie_1

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