Forum Discussion

perkin_warbeck's avatar
perkin_warbeck
Brass Contributor
Oct 11, 2020
Solved

Question about typing in the Visual Basic Editor Immediate Window

My application contains many Debug.Print statements.  These leave the cursor in the immediate window positioned at the end of the line.  If I wish to type into the immediate window (e.g., evaluate an expression), I need to hit return to get a new line before I can type.  But hitting reutrn gives a "Compile Error: Expected: end of statement" and I have to dismiss the error before I can type.  I know I can avoid this by putting a new line / carriage feed at the end of each Debug.Print string.  Is there an easier way?

Resources