(Solved) – What does the keyword Set actually do in VBA?

  • by
(solved)-–-what-does-the-keyword-set-actually-do-in-vba?

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

What’s the difference between:

i = 4

and

Set i = 4

in VBA? I know that the latter will throw an error, but I don’t fully understand why.

Leave a Reply

Your email address will not be published. Required fields are marked *