매크로에서 단락 정렬 (Microsoft Word)
Word에서는 문서의 텍스트에 대한 다양한 서식 특성 집합을 사용할 수 있습니다.
다음 VBA 문을 사용하여 단락 맞춤을 제어 할 수 있습니다.
Selection.Paragraphs.Alignment = position
여기서 _position_은 다음 표에 표시된 상수 중 하나입니다.
Constant |
Result |
|
wdAlignParagraphLeft |
Formats the current paragraph as left justified |
|
wdAlignParagraphCenter |
Formats the current paragraph as centered |
|
wdAlignParagraphRight |
Formats the current paragraph as right justified |
|
wdAlignParagraphJustify |
Formats the current paragraph so it expands to the left and right margins |
_WordTips_는 비용 효율적인 Microsoft Word 교육을위한 소스입니다.
(Microsoft Word는 세계에서 가장 인기있는 워드 프로세싱 소프트웨어입니다.)이 팁 (13112)은 Office 365의 Microsoft Word 2007, 2010, 2013, 2016, 2019 및 Word에 적용됩니다.이 팁의 버전은 다음과 같습니다. Word의 이전 메뉴 인터페이스 :
link : / word-Aligning_a_Paragraph_in_a_Macro [매크로에서 단락 정렬]
.