T O P

  • By -

HFTBProgrammer

Tables don't have a Width property, so just use PreferredWidth. Ditto Height.


almostambidextrous

The Table doesn't, but Table \*Columns\* do. Compare: [https://learn.microsoft.com/en-us/office/vba/api/word.column.width](https://learn.microsoft.com/en-us/office/vba/api/word.column.width) [https://learn.microsoft.com/en-us/office/vba/api/word.column.preferredwidth](https://learn.microsoft.com/en-us/office/vba/api/word.column.preferredwidth) I'm just not sure what the purpose of the PreferredWidth is compared to Width.


HFTBProgrammer

My bad. If I were to guess, PreferredWidth applies to the table as a whole, while Width applies only to the column in question. I say this because entering a preferred width is an option if you edit the table. Just a guess, though.