Changing the names of text boxes
Hi
If my document has a few text boxes on it, I can see from the Selection Pane that they are usually called 'Text Box 1', 'Text Box 2' and so on.
When I merge to a new document, the numbers increase. So, for page 2 of a merged doc, the boxes that was Text Box 1 on the first page becomes Text Box 3 (since there are 2 text boxes on the page).
So far so good. My problem is that when I change the name of my text boxes to something else - eg Catflap1 and Catflap2, on the 2nd page they still have these names, they don't increment to Catflap3 and Catflap4, they keep the same name.
Now, I want to do some vba code that loops through the shapes collection, and this only looks at the first 2 text boxes if they don't increment. It still loops through the shapes collection, but it only looks at the first 2 shapes when I refer to them.
Can anyone tell me why renaming a text box stops word incrementing it's number when it merges? - and how to make it do it on renamed text boxes?
Sorry for the long-winded explanation!
|