|
Lines Property
Returns a string containing the specified number of lines of code.
Syntax
object.Lines(startline, count) As String
The Lines syntax has these parts:
Part | Description |
---|---|
object | Required. An object expression that evaluates to an object in the Applies To list. |
startline | Required. A Long specifying the line number in which to start. |
count | Required. A Long specifying the number of lines you want to return. |
Remarks
The line numbers in a code module begin at 1.