如何用vba访问powerpoint自定义属性
展开全部
自定义属性用:BuiltInDocumentProperties.Item(Index:=i)访问,试一下如下如下代码
Private Sub CommandButton1_Click()
Dim i As Single
On Error Resume Next
For i = 1 To 29
Debug.Print i & ": " & ActivePresentation.BuiltInDocumentProperties.Item(Index:=i).Value
Next
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询