Thread: [Solved] Code to add new row in table
View Single Post
 
Old 07-13-2021, 03:51 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

The code only runs when you exit whatever is currently the last content control in the table. If you add a new row, the current last content control in the table becomes the last content control in the newly-added row.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote