View Single Post
 
Old 09-17-2022, 06:40 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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 assumes the table the cell widths are to be calculated from is the first table in the document and, as coded, the first cell in that table. As I said, it's generic. If your mailmerge main document has multiple tables, you'd need to specify which table to use; you'd probably also want to code the macro to skip over other tables.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote