To have newline in code you use _
Example:
Dim a As Integer
a = 500 _
+ 80 _
+ 90
MsgBox a
More Related Contents:
- Loop through files in a folder using VBA?
- How to error handle 1004 Error with WorksheetFunction.VLookup?
- How can Excel VBA open file using default application
- How to compare two entire rows in a sheet
- Run same excel macro on multiple excel files
- how to detect whether VBA excel found something?
- VBA : save a file with UTF-8 without BOM
- Excel tab sheet names vs. Visual Basic sheet names
- Saving a Excel File into .txt format without quotes
- Excel VBA How to detect if something was pasted in a Worksheet
- Excel VBA “Method ‘Document’ of object ‘IWebBrowser2’ failed”
- Determine if cell contains data validation
- VBA – Range to jpg picture
- Fastest way to delete rows which cannot be grabbed with SpecialCells
- Combine multiple Excel workbooks into a single workbook
- Excel Macro, inserting internationally valid formula during run-time
- Sheet protection: UserInterFaceOnly gone
- VBScript – How to make program wait until process has finished?
- How to break long string to multiple lines
- How to copy a chart from Excel to PowerPoint?
- vba paste not working
- mac excel vba loop : from list & then export as pdf
- Can Advanced Filter criteria be in the VBA rather than a range?
- In Excel VBA, what is the way to check if the web page is fully loaded?
- Excel Useform: How to hide application but have icon in the taskbar
- Reading Web Pages using Excel VBA
- Excel VBA: auto click and open file from website
- How do I get a list of unique values from a range in Excel VBA?
- How to get selected value in multicolumn listbox
- Query my excel worksheet with VBA