You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That would have to be VBA. Unfortunately you can't inject VBA into a presentation using python-pptx. I seriously doubt you could inject it with your own code - as it's not plain text. (I'd love to be wrong on this.)
What I have done - and this might work for you - is put the VBA code in my template presentation. Then I've managed to call it on clicking on a shape. (My md2pptx code supports this approach. I don't think I did anything special to have the shape clickable other than what python-pptx already supports.)
Is it possible to define one function and run it on click ?
The text was updated successfully, but these errors were encountered: