以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 改变数组的length (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=129060) |
-- 作者:wmh -- 发布时间:2018/12/20 16:59:00 -- 改变数组的length 老师,如何改变数组的length?比如,我定义了一个数组arr(0 to 10) as string,想实现vba中 redim arr( 0 to 100)的效果,如何写代码? 谢谢!
|
-- 作者:有点甜 -- 发布时间:2018/12/20 17:06:00 -- 建议用集合
http://www.foxtable.com/webhelp/scr/0217.htm
使用可变数组,参考
Dim a(2) As Integer |