Fausto Saito
08-13-2015, 04:08 AM
Hi!
I'm working with ppt files that are loading in the Microsoft Sharepoint. I'm trying to show in the first slide some informations about properties of the file (like author, file name, date, etc.). I'm using this code:
ActivePresentation.Slides(1).Shapes("Label1").OLEFormat.Object.Caption = Application.ActivePresentation.BuiltInDocumentProperties.Item("Author").Value
However, my ppt file from sharepoint, has others particularly properties that are inputted when we created them in the sharepoint. One of them (VPPS) is inputted by a combobox list. So I'm using the code:
ActivePresentation.Slides(1).Shapes("Label2").OLEFormat.Object.Caption = Application.ActivePresentation.ContentTypeProperties.Item("VPPS").Value
And, the others properties are inputted by a textbox (Single line of text and Multiple line of text) and by a question of multiple choice. I would like to know how could i show these properties in a label. I'm not sure, but i guess that it's related to type of variable. Someone could help me?
Thanks in advance!
I'm working with ppt files that are loading in the Microsoft Sharepoint. I'm trying to show in the first slide some informations about properties of the file (like author, file name, date, etc.). I'm using this code:
ActivePresentation.Slides(1).Shapes("Label1").OLEFormat.Object.Caption = Application.ActivePresentation.BuiltInDocumentProperties.Item("Author").Value
However, my ppt file from sharepoint, has others particularly properties that are inputted when we created them in the sharepoint. One of them (VPPS) is inputted by a combobox list. So I'm using the code:
ActivePresentation.Slides(1).Shapes("Label2").OLEFormat.Object.Caption = Application.ActivePresentation.ContentTypeProperties.Item("VPPS").Value
And, the others properties are inputted by a textbox (Single line of text and Multiple line of text) and by a question of multiple choice. I would like to know how could i show these properties in a label. I'm not sure, but i guess that it's related to type of variable. Someone could help me?
Thanks in advance!