T
tariq.qubti
I have used this code to create a command button programmatically in
pp, but my problem is that I can't set the caption of the button to
what I want.
And further more I want to assign an event handler to this button.
Anyone have an idea about how?! or if even this is feasible via VBA?!
Public btn As Shape
Private Sub lbSomething_Click()
Set btn = Slide2.Shapes.AddOLEObject(100, 100, 100, 100,
"Forms.CommandButton.1")
End Sub
pp, but my problem is that I can't set the caption of the button to
what I want.
And further more I want to assign an event handler to this button.
Anyone have an idea about how?! or if even this is feasible via VBA?!
Public btn As Shape
Private Sub lbSomething_Click()
Set btn = Slide2.Shapes.AddOLEObject(100, 100, 100, 100,
"Forms.CommandButton.1")
End Sub