![]() |
|
#3
|
|||
|
|||
|
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. |
| Tags |
| textbox, word vba |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro/VBA code to select ALL text in a textbox in microsoft excel and add a new row | jyfuller | Excel Programming | 11 | 06-01-2015 08:49 PM |
select a cluster of point from a range based on x and y values
|
sandcharles | Excel | 5 | 02-19-2015 06:15 AM |
Generating Print Labels Dynamically Based on SQL Server
|
expinch | Word | 1 | 11-26-2014 10:05 PM |
Dynamically changing drop-down list based on selection? (Word Form)
|
laurarem | Word | 1 | 02-21-2013 10:17 PM |
Display result in textbox based on the input of another textbox
|
scarymovie | Word VBA | 5 | 05-16-2012 07:05 PM |