返回列表 上一主題 發帖

WORD 錄製巨集 最小行高 出現了問題

WORD 錄製巨集 最小行高 出現了問題

本帖最後由 vpower 於 2010-8-28 15:16 編輯

我很單純的設定巨集 --> 最小行高=0 pt 他程式碼就出現問題  以下程式碼藍色那一行出現了問題1
Sub 巨集5()
'
' 巨集5 巨集
' 巨集錄製於 2010-8-28,錄製者 AAA
'
    Selection.WholeStory
    With Selection.ParagraphFormat
        .SpaceBeforeAuto = False
        .SpaceAfterAuto = False
        .LineSpacingRule = wdLineSpaceAtLeast
        .LineSpacing = 0
        .KeepWithNext = False
        .KeepTogether = False
        .PageBreakBefore = False
        .NoLineNumber = False
        .Hyphenation = True
        .AutoAdjustRightIndent = True
        .DisableLineHeightGrid = False
        .FarEastLineBreakControl = True
        .WordWrap = True
        .HangingPunctuation = True
        .HalfWidthPunctuationOnTopOfLine = False
        .AddSpaceBetweenFarEastAndAlpha = True
        .AddSpaceBetweenFarEastAndDigit = True
        .BaseLineAlignment = wdBaselineAlignAuto
        .LeftIndent = CentimetersToPoints(0)
        .RightIndent = CentimetersToPoints(0)
    End With
End Sub

        靜思自在 : 【時日莫空過】一個人在世間做了多少事,就等於壽命有多長。因此必須與時間競爭,切莫使時日空過。
返回列表 上一主題