Edit and Update Textelement in PageLayout with VBA

Discussion created by bgisolution on Oct 11, 2011
Latest reply on Oct 11, 2011 by jamesfreddyc
Dear Forum,

I want to Export a MapLayout by Click. I get a value from the click in the map (for example "housekeeper"). Now I have a sub for setting a new Textfield as MapTitle with this value like that Code found here:
Now the code is to place a New Textfield, so when I click to export a new Map I only want to edit the TextField and not to place every time a new one.
The title textfield is the only one in the pagelayout. How can I select the textelements in the pagelayout - I need a hint. thx for the help!