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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,214,932
Messages
6,122,331
Members
449,077
Latest member
jmsotelo

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