Subroutines in VBA - Printable Version +- QP School (https://qomplainerzschool.lima-city.de) +-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3) +--- Forum: Excel VBA Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=48) +--- Thread: Subroutines in VBA (/showthread.php?tid=5201) |
Subroutines in VBA - Qomplainerz - 07-26-2023 Description: Subroutines (Subs) are blocks of code used to perform specific actions or tasks. They don't return any value. You call a subroutine by its name, and it executes the code within it. Example: Sub GreetUser() MsgBox "Hello! Welcome to Excel VBA." End Sub |