If the last line of program in the desktop IDE editor, which will be an End Sub, is not terminated by a CRLF ( in this case there is no other line number after the End Sub line) and that last Sub is folded up then if that last line number containing the folded Sub is clicked as though to select the entire line all the source code in the Editor window vanishes! When it first happened to me I briefly thought that somehow I had deleted my entire program!