I installed a syntax highlighting system that will properly (hopefully) highlight your code and also include line numbers. If you look at the toolbar above this message editor you'll see a "vb" button on the far right. Click it and then enter "vb" (no quotes) to indicate you want to use Visual Basic code. Place your code in between the XCODE tags.
Here is an example of what will appear.
Public Sub HelloWorld()
You can learn more about the XCODE tag use (it's BBCODE) here.