VBA 减少和VBA的交互次数 先读到数组里?字典里?互相转换?

版权声明:一起学习,一起成长,欢迎关注 奔跑的犀牛先生 https://blog.csdn.net/xuemanqianshan/article/details/89325602

这个例子很重要

 

https://blog.csdn.net/taller_2000/article/details/86710594

因为 Excel 本身就是数据处理的

而一个非常大的问题是,反复从excel读1次,写1次,再读1次,再读1次。。

尽量一次全部读入后处理更好。

让VBA代码和 EXCEL对象 数据的交互次数  减少,好像减少drawcall数一样?

 

Drawcall 渲染调用次数?

 

 

If strCell = "姓名" Or strCell = "班级" Or strCell = "学号" Or _

                            strCell = "课程" Or strCell = "学分" Or strCell = "成绩" Then

https://blog.csdn.net/taller_2000/article/details/86710594

猜你喜欢

转载自blog.csdn.net/xuemanqianshan/article/details/89325602
vba