The Visual Basic (VB) and Visual Basic for Applications (VBA) Code Printer (VBPRT) allows you to print a formatted copy of your code in a single program. Also available in the printout are certain statistics about your code, such as lines of code, number of comment lines, number of functions, subroutines etc.