Hi All,
I am working on a small VBA for PowerPoint.
I am trying to call the value of a array within a user form when a person clikc on a button. The code I am using is as shown below:
However, when I compile the project, I get an error saying TagsArray function has not been defined. Please can someone help me with this?
Thanks,
Lonely
I am working on a small VBA for PowerPoint.
I am trying to call the value of a array within a user form when a person clikc on a button. The code I am using is as shown below:
Code:
Public Sub MyButton_Click()
On Error Resume Next
With ActiveWindow.View.Slide.Tags
.Add Name:="MYTAG", Value:= TagsArray(1)
End With
End Sub
However, when I compile the project, I get an error saying TagsArray function has not been defined. Please can someone help me with this?
Thanks,
Lonely