単語が含まれている段落を操作する | カメレオンのVBA

カメレオンのVBA

VBAの私的メモ書き

    '5番目の単語が含まれている段落を均等割り付けにする
    ActiveDocument.Words(5).ParagraphFormat.Alignment = wdAlignParagraphDistribute
   
    '中央寄せ   → wdAlignParagraphCenter
    '左寄せ    → wdAlignParagraphLeft
    '右寄せ    → wdAlignParagraphRight
    '均等割り付け →  wdAlignParagraphDistribute