3个回答
展开全部
1,连接word就不说了
2,dim wAd As Microsoft.Office.Interop.Word.Document
With wAd.Styles(jieName).ParagraphFormat
.LeftIndent = wAd.Application.CentimetersToPoints(0)'整行缩进0个字符
.FirstLineIndent = wAd.Application.CentimetersToPoints(0.35)'首行缩进0.35个字符
.OutlineLevel = Microsoft.Office.Interop.Word.WdOutlineLevel.wdOutlineLevel1
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 2‘带编号,首行缩进2个字符
.LineUnitBefore = 0
.LineUnitAfter = 0
.MirrorIndents = False
.TextboxTightWrap = Microsoft.Office.Interop.Word.WdTextboxTightWrap.wdTightNone
.AutoAdjustRightIndent = True
.DisableLineHeightGrid = False
.FarEastLineBreakControl = True
.WordWrap = True
.HangingPunctuation = True
.HalfWidthPunctuationOnTopOfLine = False
.AddSpaceBetweenFarEastAndAlpha = True
.AddSpaceBetweenFarEastAndDigit = True
.BaseLineAlignment =Microsoft.Office.Interop.Word.WdBaselineAlignment.wdBaselineAlignAuto
End With
3,剩下自己摸索吧,呵呵。
2,dim wAd As Microsoft.Office.Interop.Word.Document
With wAd.Styles(jieName).ParagraphFormat
.LeftIndent = wAd.Application.CentimetersToPoints(0)'整行缩进0个字符
.FirstLineIndent = wAd.Application.CentimetersToPoints(0.35)'首行缩进0.35个字符
.OutlineLevel = Microsoft.Office.Interop.Word.WdOutlineLevel.wdOutlineLevel1
.CharacterUnitLeftIndent = 0
.CharacterUnitRightIndent = 0
.CharacterUnitFirstLineIndent = 2‘带编号,首行缩进2个字符
.LineUnitBefore = 0
.LineUnitAfter = 0
.MirrorIndents = False
.TextboxTightWrap = Microsoft.Office.Interop.Word.WdTextboxTightWrap.wdTightNone
.AutoAdjustRightIndent = True
.DisableLineHeightGrid = False
.FarEastLineBreakControl = True
.WordWrap = True
.HangingPunctuation = True
.HalfWidthPunctuationOnTopOfLine = False
.AddSpaceBetweenFarEastAndAlpha = True
.AddSpaceBetweenFarEastAndDigit = True
.BaseLineAlignment =Microsoft.Office.Interop.Word.WdBaselineAlignment.wdBaselineAlignAuto
End With
3,剩下自己摸索吧,呵呵。
展开全部
段落前你可以加4个英文空格
或者你可以你在WORD里的操作顺序,根据开头缩写字母在程序里找代码,你试试这样你以后可以解决很多问题
或者你可以你在WORD里的操作顺序,根据开头缩写字母在程序里找代码,你试试这样你以后可以解决很多问题
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |