![]() |
|
#14
|
||||
|
||||
|
Try the attached. Because your table has merged/split rows and the formfield that triggers the macro isn't in the last column that contains one, a different approach is required. I've also added the code required to handle your row-based formula fields.
In the code, you'll see a commented-out line with: RngSel.FormFields(1).ExitMacro = "" When you're satisfied the form is ready for release into production, un-comment that line. This will prevent the macro from being triggered by any except the last 'Reason' formfield in the table. Note that I've streamlined your other macros, too.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Macro help sought for Word table
|
xan | Word VBA | 1 | 04-20-2012 07:50 PM |
Create Table Form from Word Document
|
gsj224 | Word VBA | 3 | 07-31-2011 09:26 AM |
Word Macro That Checks a Check Box Form Field When File Print is Executed
|
DKerne | Word VBA | 4 | 06-09-2011 11:54 AM |
| Do I need a Form or a Macro?? | Keith24249 | Excel | 0 | 08-23-2010 06:23 AM |
| Use Form Checkbox to Add Table | laxonator | Word Tables | 0 | 10-23-2008 06:21 AM |