G
Guest
I need to check if an option button is selected (True) and increment a
counter if it is True. My problem is referring to the slide object option
button. PowerPoint does not seem to want to allow a variable in the object
name. I have tried using the variable as well as "Slide52.OptionButton & i"
My code is:
Dim i, Qvid, OptBtn, Result
For i = 3 To 12 Step 3
OptBtn = "Slide52.OptionButton" & i
If OptBtn = True Then Qvid = Qvid + 1
counter if it is True. My problem is referring to the slide object option
button. PowerPoint does not seem to want to allow a variable in the object
name. I have tried using the variable as well as "Slide52.OptionButton & i"
My code is:
Dim i, Qvid, OptBtn, Result
For i = 3 To 12 Step 3
OptBtn = "Slide52.OptionButton" & i
If OptBtn = True Then Qvid = Qvid + 1