Last Modify Date

waterballoon

New Member
Joined
Jun 15, 2011
Messages
35
I am trying to have a cell in each of my tabs show the last date that each respective tab was modified...is this possible?

Thanks in advance...:)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
And if I wanted to do that for each worksheet (worksheets are modified separately on different days).

I think I begin by selecting the specific sheet instead of ThisWorkbook, but after that I'm a bit lost...

Thanks
 
Upvote 0
And if I wanted to do that for each worksheet (worksheets are modified separately on different days).

I think I begin by selecting the specific sheet instead of ThisWorkbook, but after that I'm a bit lost...

Thanks

No. the code in the workbook module will work for every worksheet as is.
You don't need to have code in each worksheet to achive what you want.

Try the code in a blank workbook and see what happens .
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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