How to check if there is any text present inside an object and the object can be a textbox, chart, rectangle Shape, oval Shape, ole object etc?
Suppose if I pass on a textbox it should give me True, on the other hand, i…...textbox, chart, rectangle shape, oval shape, ole object etc? Suppose...this: has_text_frame = hasattr(shape, "text_frame") then you can...