How to continue the code on the next line in VBA March 12, 2023 by Tarik To have newline in code you use _ Example: Dim a As Integer a = 500 _ + 80 _ + 90 MsgBox a