View Single Post
 
Old 07-20-2016, 04:16 AM
gmaxey gmaxey is offline Windows 7 32bit Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,437
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
Default

If we can assume that you are looking for what will be there, then you can set the textbox directly.

Let's say it is a content control:
ActiveDocument.SelectContentControlsByTitle("TB301 ").Item(1).Range.Text = "whatever"

If it is not there you could use an error handler to trap the failed attempt.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote