02-13-2013 07:47 PM
I'm looking to use VBA to modify an existing chart from the existing prompt value to another. I'm hoping to find the correct way to use the .modify action.
The example below allows me to identify which placeholder has my chart, but the use of the Modify action is incorrect.
Please let me know if you have any suggestions.
Dim sld As Slide
Dim sh As Shape
Dim sas As SASPowerPointAddIn
Set sas = Application.COMAddIns.Item("SAS.PowerPointAddIn").Object
If sh.Name = "Content Placeholder 6" Then
sas.Modify "Prompt1" = "SomeOtherValue"