The CountOfDeclarationLines property returns a Long value indicating the number of lines of code in the Declarations section in a standard module or class module.
Setting
The CountOfDeclarationLines property is available only by using Visual Basic and is read-only.
Remarks
Lines in a module are numbered beginning with 1.
The value of the CountOfDeclarationLines property is equal to the line number of the last line of the Declarations section. You can use this property to determine where the Declarations section ends and the body of the module begins.