GP Fault If Many Line Continuation Characters in Module (111984)
The information in this article applies to:
- Microsoft Excel for Windows 95 7.0a
This article was previously published under Q111984 SYMPTOMS
In Microsoft Excel 5.0, you may receive a general protection (GP) fault if
you copy and paste lines of code that contain the line-continuation
character (_) in a Visual Basic subroutine.
In Microsoft Excel 7.0, you may receive the following error message if you
copy and paste lines of code that contain the line-continuation character
(_) in a Visual Basic subroutine:
Too many line continuations
CAUSE
You receive the GP Fault if you copy lines in a Visual Basic procedure that
contain line-continuation characters, and paste the lines in a procedure so
that there are more than a total of ten consecutive lines joined with
line-continuation characters.
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft
Excel listed above. This problem was fixed in Microsoft Excel 97.
WORKAROUND
To prevent this error from occurring, do not copy and paste lines that end
in line-continuation characters if the resulting code will contain more
than nine consecutive lines that end with the line-continuation character.
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbdtacode KB111984 |
---|
|