J
julie
Hi All
i've not done much VBA in powerpoint (but lots in other apps) and i'm
trying to set up an interactive training presentation where the
participants answer questions on a powerpoint slide and these questions
/ answers are written to excel .. can do this .. BUT i want to cycle
through the controls (the combo boxes and text boxes) on the slide
writing out the info rather than addressing them by name.
normally i would write something like:
-----
Dim oControl As Control
Dim oSld As Slide
'need to confirm that all questions answered
For Each oControl In oSld.Controls
If TypeOf oControl Is MSForms.ComboBox Then
If isNull(oControl.Value) Then
MsgBox "Please ensure all questions are answered before
pressing this button.", vbCritical, "Error"
Exit Sub
End If
End If
Next oControl
-----
however i'm getting a "method or data member not found" error on
oSld.Controls
would appreciate any assistance
Regards
JulieD
(julied_ng at hcts dot net dot au)
i've not done much VBA in powerpoint (but lots in other apps) and i'm
trying to set up an interactive training presentation where the
participants answer questions on a powerpoint slide and these questions
/ answers are written to excel .. can do this .. BUT i want to cycle
through the controls (the combo boxes and text boxes) on the slide
writing out the info rather than addressing them by name.
normally i would write something like:
-----
Dim oControl As Control
Dim oSld As Slide
'need to confirm that all questions answered
For Each oControl In oSld.Controls
If TypeOf oControl Is MSForms.ComboBox Then
If isNull(oControl.Value) Then
MsgBox "Please ensure all questions are answered before
pressing this button.", vbCritical, "Error"
Exit Sub
End If
End If
Next oControl
-----
however i'm getting a "method or data member not found" error on
oSld.Controls
would appreciate any assistance
Regards
JulieD
(julied_ng at hcts dot net dot au)