Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.16 KB

line-too-long.md

File metadata and controls

23 lines (14 loc) · 1.16 KB
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
Line too long
vblr6.chm1011210
vblr6.chm1011210
e63efae7-1383-2da7-8416-94d104e4abd4
06/08/2017
medium

Line too long

A physical line of Visual Basic code can contain up to 1023 characters. This error has the following cause and solution:

  • A line contains too many characters. You can create a longer logical line by joining physical lines with a line-continuation character, a space followed by an underscore ( _). Up to 25 physical lines can be joined with line-continuation characters to form a single logical line, or 24 consecutive line-continuation characters. Thus, a logical line could potentially contain a total of 10,230 characters. Beyond that, you must break the line into individual statements or assign some expressions to intermediatevariables.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

[!includeSupport and feedback]