My Technical Notes

Thursday, 17 December 2015

VBA: One statement on multiple lines

Use the underscore character `_` at the end of the line:


Dim S As String
S = "Tahir " & _
    "Hassan"

No comments: