Last Updated

dknowles2004

Board Regular
Joined
Nov 15, 2004
Messages
79
Hi

I am putting together an Excel spreadsheet and need to put the data and time the spreadsheet was last saved into a cell (eg. A1).

It would be even better if I could also have another cell (A2) with a version number that increments by 1 each time the spreadsheet is saved. Any ideas on this please?

Can anyone help me on this at all?

Thanks.

David
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Have a look at the Workbook_BeforeSave workbook event.
 
Upvote 0
Date Completed but Version incomplete

Thanks . I have used the following code:

Code:
Range("A1") = Now        

I still can't figure out the version code though!!

Help![/quote]
 
Upvote 0
Code:
Range("A2").Value=Range("A2").Value+1
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,918
Members
449,195
Latest member
Stevenciu

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