Excel VBA Introduction Part 43.2 - ByRef and ByVal (When to use Parentheses)

preview_player
Показать описание


By Andrew Gould

Рекомендации по теме
Комментарии
Автор

Thanks for your series, I've learned so many fundamental concepts that were glossed over in other youtube vba videos. Please keep making more advanced videos.

brianjensen
Автор

A tip for viewers. I do this: for procedures I never use parenthesis and helps me distinguish procedures from functions. There's a point where I have so many functions and subprocedures that use arguments, that if I use all with parentheses, I will just get confused.
Another thing to tidy your code is to use functions for returning values and subs for actually executing something.
Great vid as always my friend...

TonyDiaz.
Автор

Your training videos are awesome. Keep doing a great work!

lukaszpiech
Автор

Thanks, Andy. I *never* would have figured this out on my own. Very good to know.
Do you know if named assignment using := forces a ByVal or ByRef assignment?

jimfitch
Автор

Hi, Can you please Make Videos of Libreoffice _STAR BASIC macros -Videos Series

chandruchandru-uqeg
Автор

OMG, I'm sorry, I could not understand basic things due to language or some other reason that why we must use () instead of ".😑

SPARKONLINE