When I copy vb code from a post to try locally, pasting the code always results in the removal of blank lines. It doesn't matter if I paste into Visual Studio or TextPad. Blank lines are never maintained. If I paste into VB, indentation is recreated based on the code structure, however, pasting into TextPad results in all code being left aligned and indented by four spaces no matter what the code structure or the indentation on the originally posted code.

6 Years
Discussion Span
Last Post by Reverend Jim

It worked ok for me, using this thread as test, then pasted it into Visual Studio and Notapad. How did you copy it to the clipboard? I just double clicked the code, then after seeing it turn blue I right clicked and selected copy from the popup menu.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.