Skip to content Skip to sidebar Skip to footer

Removing Hyperlinks In Powerpoint With Python-pptx

Quite new to XML and the python-pptx module I want to remove a single hyperlink that is present on every page my own attempt so far has been to retrieve my files, change to zip fo

Solution 1:

To remove a hyperlink from a shape (the kind where clicking on the shape navigates somewhere), set the hyperlink address to None:

shape.click_action.hyperlink.address = None

Post a Comment for "Removing Hyperlinks In Powerpoint With Python-pptx"