![]() |
|
#30
|
||||
|
||||
|
lTbl is the index for whichever is the current table. So, yes, it's for any table. The GetTblRow macro tells Word which table and row you're working with. To ensure it's updated, simply call it from the relevant formfields. As shown in the latest attachment, the GetTblRow macro is called from the UXONomen# & UXONEW# formfields in table 9a and from the DEMONomen# & DEMONEW# formfields in table 9b. Those formfields call the GetTblRow macro to make sure the correct table & row are referenced for the 'on exit' work they have to do (i.e. adding new items / rows).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| calculating values, expanding table, form fields |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro to keep formatted form fields after mail merge or replace text with formatted form fields | jer85 | Word VBA | 2 | 04-05-2015 10:00 PM |
Tables with form fields
|
step10 | Word | 18 | 11-12-2013 02:27 PM |
| Enable editing in expanding fields | marweste | Word | 11 | 10-21-2013 07:41 AM |
| How to prevent Tables from expanding | HappyFingers | Word | 1 | 11-29-2010 01:54 PM |
| Calculating Form Fields in Microsoft Word | wubba80 | Word | 1 | 06-25-2010 12:42 AM |