liangx85

2014年1月10日

VBA中常用技巧

摘要: 常量定义Public Const i as Integer = 1自定义类型Type mytype i as Integerb as Boolean s as Stringend Type错误处理①跳过出错语句,继续执行 On Error Resume Next处理代码 On Error Goto 0②执行错误处理 On Error Resume Next 处理代码On Error Goto ErrorHandler ErrorHandler: 错误处理代码分支处理Select case condition case "value1" 详细处理case "valu 阅读全文

posted @ 2014-01-10 10:05 liangx85 阅读(529) 评论(0) 推荐(0) 编辑

导航