Function ProcOfLine(ByVal Line as Long, ByRef ProcKind as vbext_ProcKind) asStringCheck out my article on TechTrax:"Using the VBA Extensibility Library"pubs.logicalexpressions.com/.../LPMArticle.aspWhat are you working on? Sounds interesting...