| 发表于:2007-07-10 23:09:31 楼主 |
dim oexcel as excel.workbook set oexcel = df1.activedocument '使用dsoframer装载excel oexcel.application.displayalerts = false '禁止出现对话框,但是出现问题 _application不支持displayalerts属性,读出属性没有问题,就是写入就不支持 oexcel.application.cells.replace what:=strsname, replacement:=strdname, lookat:=xlpart, _ searchorder:=xlbyrows, matchcase:=false '实现替换 set oexcel = nothing 问题就是office2000中不加displayalerts也没有对话框,2003中就有没有找到搜索文本的对话框,加了displayalerts又出错,搜索了一个晚上没有结果 求救~~~ |
|
|
|
|