[英]Is sharepoint versioning stored inside the document for excel documents?
Does anyone know if SharePoint stores it's version numbers inside the files for Excel files? 有谁知道SharePoint是否将版本号存储在Excel文件的文件中? I would assume that it does not.
我认为事实并非如此。 This is what I need: I have an Excel file stored in a SharePoint document library.
这就是我需要的:我在SharePoint文档库中存储了一个Excel文件。 The file will eventually be distributed and must be able to function offline.
该文件最终将被分发,并且必须能够脱机运行。 The file is somewhat macro-intense, and I would like to be able to log the version number of the file within the file so that if there are errors, the version number would be known or even recorded in another place.
该文件有些宏,因此我希望能够在文件中记录该文件的版本号,以便在出现错误时知道该版本号,甚至将其记录在另一个位置。 Is there a way to access the version number within VBA without accessing a web service?
是否可以在不访问Web服务的情况下访问VBA中的版本号?
You MIGHT be able to try something where on the SharePoint ItemUpdating event you update the XLSX file to reflect the version number you want. 您可以尝试在SharePoint ItemUpdating事件中更新XLSX文件以反映所需版本号的方法。 I have not tried using the OM to update the Excel document, but I have with word, not with updating a version number.
我没有尝试使用OM来更新Excel文档,但是我有一个单词,而不是一个版本号。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.