How about newlines within comments?
Allow HTML tags in comments
How do comments work?
Comments don't have formatting tags or line breaks
Code in comment is all on one line
Can you put code snippets in comments?
Why can you type new lines in comments if they are never rendered?
How can I add new line in a comment?
I want to add multiline code to my Stack Overflow comments but Stack Overflow parses everything to one line. I tried the two spaces
below is the code
Set objApp = CreateObject("Excel.Application") objApp.Visible = True Set wb = objApp.Workbooks.Open("template.xls", True, False) wb.Sheets(1).Rows(3).Delete wb.Sheets(1).Range("A1").Value = title objApp.Cells.Select objApp.Selection.Borders(xlDiagonalDown).LineStyle = xlNone objApp.Selection.Borders(xlDiagonalUp).LineStyle = xlNone With objApp.Selection.Borders(xlEdgeLeft) .LineStyle = xlContinuous .ColorIndex = 0 .TintAndShade = 0 .Weight = xlThin End With