Excel
dexfire29
这个作者很懒,什么都没留下…
展开
-
Excel VBA String 数据类型
Excel VBA String 数据类型字符串有两种类型:可变长度字符串和固定长度字符串。可变长度字符串最多可以包含大约 20 亿 (2^31) 个字符。固定长度的字符串可以包含1到大约 64 K (2 ^ 16) 个字符。 ' 使用两个双引号来转义出单个双引号 Dim s As String s = "This string literal has an embedded...原创 2020-02-11 13:45:55 · 4393 阅读 · 0 评论 -
Excel VBA 函数返回值
Excel VBA 函数返回值Sub 定义一个过程VB的函数定义格式与C有很大区别:格式:Sub 过程名(参数列表 ... ) 过程体End SubFunction 定义一个函数官方文档 ???? Microsoft Docs | 编写 Function 过程Function 函数名(参数列表 ... ) 函数体 函数名 = 返回值End Function实例代码:Su...原创 2020-02-11 13:29:52 · 21278 阅读 · 0 评论