您的位置:程序门 -> vb -> vba



使用vb导入文本到word时出现的一个问题,麻烦帮忙。谢谢


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


使用vb导入文本到word时出现的一个问题,麻烦帮忙。谢谢
发表于:2007-05-22 10:09:00 楼主
with   word
          .selection.font.name   =   cmbfont.list(i)
          .selection.font.size   =   txtshow.fontsize
          .selection.font.color   =   txtshow.forecolor
          .selection.font.bold   =   iif(chkbold.value   =   1,   true,   false)
          .selection.font.italic   =   iif(chkitalic.value   =   1,   true,   false)
          .selection.font.underline   =   iif(chkunderline.value   =   1,   true,   false)
          .selection.paragraphformat.alignment   =   cmbagmt.listindex
          .selection.typetext   txtshow.text
end   with
运行时候,弹出错误: "实时错误‘5148'数字必须介于0和9之间 "
        请问如何解决?或者麻烦说下改从哪些方面去查错。谢谢


快速检索

最新资讯
热门点击