You will need to upgrade to a new version of GEOMeasure. The current version of GEOMeasure will allow 10,000 lines of code. Mark Boucher Mitutoyo America A.E. / Charlotte, NC