in VBA it is possible to write "sub procedures" and "sub functions". This is very useful for organizing the different parts of a code in small parts, that a programmer can use in different places by writing its name. This procedures and functions you can save in same file for example at the end of the page or outside in a modul.