View Single Post
 
Old 12-20-2016, 12:54 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

The code I posted works fine for any table format - i.e. no merged cells, vertically merged cells, horizontally merged cells, varying cell widths in a column, etc. in any combination. If you're getting errors, that's most likely because you've not implemented it as provided. But, since you haven't posted your code, we can't see what you're doing...

Of course, it's also possible the table you're trying to modify has been corrupted somehow. Corrupt tables can often be 'repaired' by:
• converting the tables to text and back again;
• cutting & pasting them to another document that you save the document in RTF format, which you then close then re-open before copying them back to the source document; or
• saving the document in RTF format, closing the document then re-opening it and re-saving in the doc(x) format
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote