For debugging in VBA, I have several Debug.Print
statements throughout my code. For a line-parsing block, I'd like to print the line, and output any flags inline with the line, without having multiple Debug.Print sFlag & sLine
statements throughout the many if/elseif/else blocks.
Is there a way, within VBA, to suppress the newline at the end of a Debug.Print
statement?
Debug.Print
at very bottom, underWend
. Then close the line aboveWend
with a semi-colon. Same result. – Lyublin