Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-03-2018, 06:25 AM
catflap's Avatar
catflap catflap is offline Changing the names of text boxes Windows 7 64bit Changing the names of text boxes Office 2013
Advanced Beginner
Changing the names of text boxes
 
Join Date: Aug 2015
Location: UK
Posts: 77
catflap is on a distinguished road
Default 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!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the names of text boxes Formats in text boxes in Word 2016 changing unexpectedly PugwashAtNPEU Word 4 05-04-2017 05:53 AM
Changing Default Fonts for Text Boxes and Tables LadyBug679 PowerPoint 2 04-01-2016 06:42 AM
Changing the font colour in all text boxes marqives Word VBA 1 11-25-2014 06:05 PM
Changing the names of text boxes Changing the placeholder text for drop down boxes DeadBatteries Word 1 08-24-2012 09:09 AM
Changing the names of text boxes Arrows and text boxes disappear when changing view? Jesse Word 4 06-12-2012 05:28 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft