Thread: [Solved] Find textbox name
View Single Post
 
Old 02-01-2014, 12:11 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The simplest solution, of course, is to give your control the same name as the caption used for its label. The next simplest (and possibly easier to implement if you already have multiple references to the existing name) is to give your control a tag that is the same name as the caption used for its label, then query the tag.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote