With Selection.Font
        .NameFarEast = "MS ゴシック"
        .NameAscii = "MS ゴシック"
        .NameOther = "MS ゴシック"
        .Name = "MS ゴシック"
        .Size = 9
        .Bold = False
        .Italic = False
        .Underline = wdUnderlineNone
        .UnderlineColor = wdColorAutomatic
        .StrikeThrough = False
        .DoubleStrikeThrough = False
        .Outline = False
        .Emboss = False
        .Shadow = False
        .Hidden = False
        .SmallCaps = False
        .AllCaps = False
        .Color = wdColorAutomatic
        .Engrave = False
        .Superscript = False
        .Subscript = False
        .Spacing = 0
        .Scaling = 100
        .Position = 0
        .Kerning = 1
        .Animation = wdAnimationNone
        .DisableCharacterSpaceGrid = False
        .EmphasisMark = wdEmphasisMarkNone
    End With

解决方案 »

  1.   

    With Selection.Font do
    begin
            NameFarEast = "MS ゴシック"
            NameAscii = "MS ゴシック"
            NameOther = "MS ゴシック"
            Name = "MS ゴシック"
            Size = 9
            Bold = False
            Italic = False
            Underline = wdUnderlineNone
            UnderlineColor = wdColorAutomatic
            StrikeThrough = False
            DoubleStrikeThrough = False
            Outline = False
            Emboss = False
            Shadow = False
            Hidden = False
            SmallCaps = False
            AllCaps = False
            Color = wdColorAutomatic
            Engrave = False
            Superscript = False
            Subscript = False
            Spacing = 0
            Scaling = 100
            Position = 0
            Kerning = 1
            Animation = wdAnimationNone
            DisableCharacterSpaceGrid = False
            EmphasisMark = wdEmphasisMarkNone
        End
      

  2.   

    应该使用单引号’,在Delphi中字符串不是使用”的。