VBA: Sub vs Function
What is Sub vs Function? In this article, we will discuss the key differences between a sub vs function. Both are sets of commands that are used to perform specific tasks in Microsoft Excel’s Visual Basic Application (VBA). A sub, also known as a subroutine or sub procedure, is a piece of code that is…