Hi All, I have a piece of code that always works when I step thru the code with F8, or F5 to break points. However, when running from the command line (vl-vbarun) it usually (not always) bombs out. The error description is "Expression too complex" but I can't seem to find where it is crashing. What should I be looking for in my obviously badly coded routine? A quick summary: collect all LDD points (722) in project throw to Type array Public Type surveypoint number As Long east As Double north As Double rl As Double code As String End Type scan thru all points looking for particular codes that match the text file library (26 lines of 5 variables, stored as single dimension type array) Any hints would be appreciated, especially on how to locate the source of the error in the code. Thanks, Jon