Versionning + Macro ?

Get help for specific problems
Posts: 2
Joined: 9 Jul 2021

tomsmylez

Hi there,

I used to try to solve a problem via word macros but without result. As I try to make versionning backups of "current" documents (because people forget to save, or overwrite the good versions), I now thought that maybe I can find a solution here.

The tricky part is (for me) the triggering of the sync function.
It should launch, somehow, when a word document is opened on that local machine, then backup the file each x minutes (combined with the ffs versioning) to a local folder on that specific computer. In that way, they could seamlessly work on their current version and save it later in the server-location where they originally opened the file - and - if needed, we could access the backup files on their local computer to recover changes made, or just delete the files if no longer needed.

I made several tryouts in word vba - but the "save as" or "copy active document" macros always make the user "jump into" that freshly created file - so that people, after running the macros, no longer worked in the current version but in the backup copy....

I gave up hope (and wasting time) into that direction and i was wondering if here in the ffs community, maybe someone already crafted some similar backup macro that I could adapt to my needs.

Many thanks in advance for any kind of constructive feedback & best regards

Tom
Posts: 2
Joined: 9 Jul 2021

tomsmylez

Brief Feedback from myself - for those who might come into a similar situation:

Word Makes Autorecovery copies into c:\users\yourname\appdata\roaming\microsoft\word\ *.asd and partially even with subfolder structures until you save it.

I use this path as "hotfolder" to trigger the realtime sync with the batch file I prepared.

That way, i have versionned copies of the current document in a specific path after closing the last version in word - if ever i find out some changes where made by another person and overwrote stuff - i have my local copies until i delete them.

Keep up the good work !

Tom