Well that explains why it was compiling for a while and then stopped! I must have deleted that empty line. Bob On Mar 1, 2011, at 7:04 PM, J. Landman Gay wrote: > You can either rewrite the section using the long form, or put a carriage return after the last line of the embedded "end if".