I would like to have access to the document properties of the PowerPoint add-in file (presentation saved as "PowerPoint Add-in" (* .ppa) ", from some VBA code in the add-in itself.
If this helps to understand the problem, then what I'm actually trying to do is read the native property of the document, which stores the version number of the add-in, so that I can display this in the dialog box.
In Word and Excel, I can do this with ThisDocumentand ThisWorkbook, both of which return a link to a document containing the current code. However, there is no equivalent in PowerPoint ThisPresentation.
For a standard presentation or PowerPoint template, I could use ActivePresentation. However, this method will not work on the add-in.
Any ideas? Please no suggestions on where else should I stick with the version number :-)
source
share