Horizontal black line in VB editor

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
 
J

Jim Cone

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top