![]() |
|
#1
|
|||
|
|||
|
I am trying to run some VBA code within an active document. I have placed two text boxes on the document and want one to be populated with a specific value when the other is populated. this is just a trial and two boxes wont be used.
i have tried If textbox1.value > 100 then textbox2.value = "In spec" elseif textbox1.value < 100 then textbox2.value = "Out of spec" end if i dont know how to get this to run when textbox1 is populated on the active word document. when i select this document in project then document i dont know what decleration will make the code run. i tried contentcontrolonenter but that didnt work any help will be appreciated. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
AutoOpen code to change date code to date text
|
Legal Learning Center | Word VBA | 6 | 02-22-2020 02:24 PM |
| Wrap text code not working | Bluebell | Word VBA | 5 | 03-25-2018 04:26 AM |
VBA Code to search for field codes with certain text before the Field code and to change style
|
welcometocandyland | Word VBA | 4 | 02-08-2017 06:53 PM |
Help with VBA code to find and highlight text
|
mpdsal | Word VBA | 8 | 09-11-2014 03:55 PM |
| Code Request - Text to Columns | OTPM | Excel Programming | 0 | 02-13-2013 04:44 AM |