I had the same issue, there is a cleaner way to do it in Sharepoint.
On Sharepoint to activate versions:
Library -> Library Settings -> Versioning settings -> Create major and minor -> OK
- Create the document in word and upload it on Sharepoint.
- Open the document on Sharepoint to word editor
- Go to where the version number should be and Click on
Insert
then Quick Parts
then Document Properties
select Current Version
if you have followed these steps correctly.
NB: The document should be opened from the Sharepoint uploaded version. This way you can version according to Sharepoint version number