摘要: 1、VBA数据类型 如果不指定数据类型,VBA自动将变量指定为变体型Variant. 1.1 数据类型的转换 CBool Boolean 任何有效的字符串或数值表达式 CByte Byte 0-255 CCur Currency - CDate Date - CDbl Double - CDec D 阅读全文
posted @ 2017-05-08 01:25 小Y看世界 阅读(999) 评论(0) 推荐(0) 编辑
摘要: enumerate(iterable[, start]) --> iterator for index, value of iterable Return an enumerate object. iterable must be another object(a sequence, an iter 阅读全文
posted @ 2017-05-08 01:24 小Y看世界 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 1、Outlook简介 若要从Outlook 外控制Outlook对象,必须在编写代码的工程中建立对Outlook对象库的引用。 1.1 Outlook Application说明: 代表整个Microsoft Outlook应用程序。它是层次结构中唯一可使用CreateObject方法或GetOb 阅读全文
posted @ 2017-05-08 01:24 小Y看世界 阅读(7216) 评论(0) 推荐(1) 编辑
摘要: Open 语句: 能够对文件输入/输出 (I/O)。 Open pathname For mode [Access access] [lock] As [#]filenumber [Len=reclength] pathname:指定文件名,该文件名可能还包括目录、文件夹及驱动器。 mode:指定文 阅读全文
posted @ 2017-05-08 01:23 小Y看世界 阅读(272) 评论(0) 推荐(0) 编辑