wApp.selection.ParagraphFormat.Alignment:=wdAlignParagraphLeft;//WdParagraphAlignment;
wApp.selection.ParagraphFormat.LineSpacingRule:= wdLineSpaceExactly;
wApp.selection.ParagraphFormat.LineSpacing:= 15 ;
wDoc.Range.InsertAfter(lineText);设置插入word中的文本行的对齐方式和行距,但是编译的时候提示wdAlignParagraphLeft和wdLineSpaceExactly没有定义
我查看vba中是这样写的,请问这几个常来在哪定义的 我要包含什么东西不?
wApp.selection.ParagraphFormat.LineSpacingRule:= wdLineSpaceExactly;
wApp.selection.ParagraphFormat.LineSpacing:= 15 ;
wDoc.Range.InsertAfter(lineText);设置插入word中的文本行的对齐方式和行距,但是编译的时候提示wdAlignParagraphLeft和wdLineSpaceExactly没有定义
我查看vba中是这样写的,请问这几个常来在哪定义的 我要包含什么东西不?
解决方案 »
- 菜鸟级问题
- ***********表关系.......................
- 急求ADOConnection动态链接到SQL Server 数据库的方法.
- 在Insert数据之后,有时可以insert,有时不可以Insert,出现ClientDateSet:Must Apply Updates Before Refreshing Date.
- 请教 TVtChart或TDBChart的用例
- 怎么样在stringgird中的cell中插入一个speedbutton?
- 网吧管理系统-源代码
- 怎样在一个主程序运行之前先运行一个form?
- 刚刚"玩"DELPHI,有一个小小的问题,自己不想查资料了,谢谢!!
- kxy,xyk,ykx,kyx请进
- 瑞星抵制Delphi6将Delphi认为成为病毒!!大家来支持啊!!!
- 关于dbgrid的当前记录行数
word97啥的都行