当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 问题描述:先产生ca.pem文件,然后生成ca.csr文件。ca.pem文件可以正常生成,但是生成ca.csr文件时发生错误,错误信息如下: c:\openssl\bin>openssl req -new -out voa/ca.csr -key voa/ca.pem unable to load config info unable to find distinguished_na......
    摘要: 如题 ......


哪位大侠对vba for word比较熟啊notes中把文档导出为word格式时怎样让文字居中啊

在C/S下,用一个操作将该文档导出为word文档。我用想用vba实现这个功能,可是标题写进去以后不能够居中,总不能连个标题都没有吧。  
  具体代码如下:  
  Set   wordApp   =   createobject("Word.Application")  
  Set   wordDoc   =   wordApp.documents.add()  
  wordApp.visible   =   True  
  Dim   myRange   As   Variant  
  Set   myRange   =   wordDoc.Range(0,0)  
  With   myRange  
  .insertparagraph  
  .bold   =   True  
  .insertBefore   "Title"  
  .paragraphFormat.Alignment   =   wdAlignParagraphCenter  
  End   With  
  其中.paragraphFormat.Alignment   =   wdAlignParagraphCenter是将MyRange这个Range段落格式设为居中,可是怎么在notes中怎么不起作用呢?

NO.1   作者: FANGHAONO1

.paragraphFormat.Alignment   =   3  
  试试


    摘要: 用update可以增加$today_topic_cnt的值,但 如何让数据值在00:00的时候自动变为0? ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE