Horizontal black line in VB editor

  • Thread starter Thread starter Hari Prasadh
  • Start date Start date
H

Hari Prasadh

Hi,

If I have more than one Sub in the same module then the VBE draws that
horizontal lines separating the 2 subs from each other. Many times I place
comments before the start and at the end of the sub depending on my whims.
Now, I have problems with the horizontal line when it doesnt know whether a
comment belongs to the sub above or the sub below.

How do I control this line?

Please note, this is the same line inserted by VB just after option explicit
whenever we insert a new procedure.

Thanks a lot,
Hari
India
 
Hari,

You can remove the lines in Tools | Options | Editor(tab) .
Uncheck "Procedure Separator".
Then make your own with '-------

Regards,
Jim Cone
San Francisco, USA


message Hi,
If I have more than one Sub in the same module then the VBE draws that
horizontal lines separating the 2 subs from each other. Many times I place
comments before the start and at the end of the sub depending on my whims.
Now, I have problems with the horizontal line when it doesnt know whether a
comment belongs to the sub above or the sub below.
How do I control this line?
Please note, this is the same line inserted by VB just after option explicit
whenever we insert a new procedure.
Thanks a lot,
Hari
India
 
Back
Top