AutoMacro: Show VBA Line Numbers VBA Coding Tools and Utilities VBA Line Numbers The VBA Editor (VBE) displays the line and column number of your cursor
Those numbers were typed manually. This type of numbering was common in BASIC (many years ago) and VBA allows such numbering to be done manually although it is not required as many other options are available to control the flow of looping or recursive procedures. Labels can be useful for directing program flow using a GOTO statement. VBA also allows the use of text labels for directing program flow. You may have seen these in examples using such constructs as "On Error GoTo ErrorHandler" which would direct the program to resume at the label "ErrorHandler:"