andrewsavvas
New Member
- Joined
- Apr 30, 2017
- Messages
- 6
I manage an Excel document that is stored on a SharePoint that approx. 60 users access each day. They are to download the file daily and run it locally.
The file has several references to other workbooks and at times I need to make changes to the references as well as regular updates. I’m finding users are not always downloading the most recent version, so I would like to create a VBA code that check for the most current file version before allowing them to open the document.
I currently have a version number and date in 'V3.6 / 27-06-2018' format in a cell in the document. So ideally I would like to compare the version number within the file and a plain text file also loaded on the SharePoint.
Where the version doesn't match, I’d like a text box to appear advising the version is outdated and for the document to force close. Where the version matches, the file would open as normal.
I am open to other suggestions if it makes it easier.
The file has several references to other workbooks and at times I need to make changes to the references as well as regular updates. I’m finding users are not always downloading the most recent version, so I would like to create a VBA code that check for the most current file version before allowing them to open the document.
I currently have a version number and date in 'V3.6 / 27-06-2018' format in a cell in the document. So ideally I would like to compare the version number within the file and a plain text file also loaded on the SharePoint.
Where the version doesn't match, I’d like a text box to appear advising the version is outdated and for the document to force close. Where the version matches, the file would open as normal.
I am open to other suggestions if it makes it easier.