vba语言 [英] vba language
问题描述
HI
我对Microsoft Office中的VBA语言有疑问
I have a question about VBA language in Microsoft Office
与其他语言(如c#)相比,VBA语言较慢或者C ++,将在2016年的办公室中改进vba语言以加快它的速度吗?谢谢
VBA language is slower compared to other language like c# or C++ , is will be improvement in vba language in office 2016 to speed up it more ? thank you
推荐答案
VBA较慢的原因,在很多情况下,但并非全部,是编译器会自动执行很多操作,你必须在C中手动完成。 C.不允许使用
似乎 a 缺点,但事实并非如此。
The reason why VBA is slower, in many cases but not in all, is that the compiler does a lot of things automatically what you have to do manually in C, resp. isn't allowed in C.That seems to be a disadvantage, but it isn't.
VBA ,
与 C , 不同,非常容易学习。并且
即使是初学者 也可以 编写 简单程序
没有任何编程知识。这就是为什么 VBA
因此 Office 如此常见 。
VBA is, unlike C, very easy to learn. And even a beginner can write simple programs without any programming knowledge. This is why VBA and thus Office is so common.
因此恕我直言b $ b 无变化 在未来版本中 。
Therefore IMHO there is no change within future releases.
另一方面 ,正确地应用
VBA , 然后 你会看到
它不是 比<慢得多 C。
它
也可以写 C中糟糕的慢节目;;-)
On the other hand, when you apply
VBA properly, then you will see
it's not that much slower than C.
And it is
also possible to write bad slow programs in C. ;-)
Andreas。
Andreas.
这篇关于vba语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!