I have the following textbox in a layout view:
Is it possible to modify the text through ArcPy?
I made that box as text, and it has no function added to it:
I just want to change the date so that later I can export it as PDF.
arcmaparcpydatelayoutstext-element
Best Answer
It is possible to change the text. Use the ListLayoutElements to find the object you want. Get the text from the element. Find and replace the text, then push the changed text back to the element. Finally refresh the view and save the mxd.
If your textbox is tagged with a name, then finding the correct layout element is easier. I have attached an example where I am running a find and replace on an element names "iso9001"