When you get an error, click the debug button which appears, and the VB IDE should go directly to the line which caused the error. The line will be highlighted yellow if you use the default IDE settings...

You can also set Breakpoints in your code to aid in debugging...

Hope this helps.