Should I use Call keyword in VB/VBA?

Posted by Fred Loyant on Stack Overflow See other posts from Stack Overflow or by Fred Loyant
Published on 2010-04-04T04:48:38Z Indexed on 2010/04/04 4:53 UTC
Read the original article Hit count: 485

Filed under:
|

I use the Call keyword used when calling subs in VB/VBA. I know it's optional, but is it better to use it or leave it off? I've always thought it was more explicit, but maybe it's just noise.

Also, I read this on another forum: Using the Call keyword is faster because it knows that it is not going to return any values, so it doesn't need to set up any stackspace to make room for the return value.

© Stack Overflow or respective owner

Related posts about vb

Related posts about vba