Thread: [Solved] Code to add new row in table
View Single Post
 
Old 08-12-2022, 01:25 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

Quote:
Originally Posted by shanshan89 View Post
I tried but it prompts the user to add new row at one of my content controls in a nested table contained within the last row/cell instead of the last content control. ...

I forgot to mention that I also have a nested table within the last row/cell containing 3 content controls so it complicates things.
Indeed. It really doesn't help that you keep leaving out key issues regarding your document. Do you really need to have a nested table?
Quote:
Originally Posted by shanshan89 View Post
But meanwhile, I will stick to using the quick access toolbar to add new row first as I have not encountered any errors with that!
The obvious problem with that, though, is that you have no control over when the user inserts a new row - which may or may not be needed - plus the adding needs to be available to every PC on which the process is to be run. Good luck with that on Macs...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote