So here's the thing. We are finally in the process of migrating our cranky old on-prem file server to Sharepoint Online / Office 365.
As I understand it, one of the many advantages of Sharepoint is that it automatically maintains a save history of all files. As I understand it this means if I'm writing a report in Word and over the course of the 3-4 weeks that I take to write it, I save it x-hundred times, if I find I've made a mistake I can go back to any previous version of the document I like. This is great, because our current server does not have this feature (or if it does, it is not setup properly) and so our current practice is to re-save every incremental version of a document draft with an appended date reference and so end up with many dozens of different named versions.

So against the above back-drop what I would like (I think) is to a add a unique reference field - effectively a version number - to my document (to my template's footer, say), so that whenever I am looking at a print-out, I can quickly and easily go back to that specific draft. I'm thinking the easiest would be to use the SaveDate field in the format yyMMdd-HHmmss; that, together with the document name should allow me to uniquely identify the document/version in question. But of course for this to work I would need to ensure that the document was automatically saved and that field updated every time the document was printed.

Might anyone be able to provide me with some code to do the above, and explain to me like I'm a five-year old exactly how to set it up?

Or else if anyone has a better, more elegant solution to the problem I'd be equally happy with that.

Many thanks.