View Single Post
 
Old 12-21-2016, 02:08 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote