在VB中我们可以添加微米吗

问题描述:

例如,在VB中可以添加Micros,我需要excel才能在按钮上单击,因此我该如何通过micro来做.

In VB can in add micros for example i need excel should work on the click of the button so how can i do by micro.

您可能是说宏".不,在VB中没有宏"之类的东西.

只需编写代码,doode.
You probably mean "macro". And no, there''s no such thing as a "macro" in VB.

Just write the codez, doode.


Excel中有一些宏可以调用VB,但反之则不行.
但是您可以使用应用程序控件从VB调用Excel.

这可能有帮助 [
There are macros in Excel that can call VB, but not the other way round.
But you can call Excel from VB using application controls.

this may help[^]


这意味着在按钮控件上,我必须编写代码才能调用excel,它将像宏一样工作
it means on a button control i have to write coding to call excel which will work like macro