View Single Post
 
Old 12-31-2020, 06:33 AM
macropod's Avatar
macropod macropod is online now Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,366
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 victorybadges View Post
No code, I manually highlight the table and click on paragraph centre so that is fine
That is absolutely the wrong way to do it.

To center the captions (the pics are already centered), before:
Code:
      With .Styles("TblPic").ParagraphFormat
insert:
Code:
      .Styles("Caption").ParagraphFormat.Alignment = wdAlignParagraphCenter
It's not apparent why you'd want both centering and indenting in this situation.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote