with selection.paragraphs(1).range
.font.size =11.5
.font.name ="宋体"endwith
这是改变第一段的字体和大小。 行间距好像是linespacing属性
发表于:2007-12-23 19:06:164楼 得分:0
不可行
因为,您理解的第一段和系统理解的第一段在很多情况下不是一个意思。
发表于:2007-12-26 13:58:255楼 得分:0
dim newdoc as new word.application newdoc.documents.open "文件名" newdoc.activedoctument.content.select '选中全部文字 newdoc.activedoctument.papagraph(1).select '选中第一段 newdoc.selection.rang.font.name'字体 newdoc.selection.paraformat '段落格式