What does the keyword Set actually do in VBA?

前端 未结 7 2506
既然无缘
既然无缘 2020-11-22 04:26

Hopefully an easy question, but I\'d quite like a technical answer to this!

What\'s the difference between:

i = 4

and



        
7条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 04:52

    Set is used for setting object references, as opposed to assigning a value.

提交回复
热议问题