Salut Benoit, the compiler takes that line sFile=Left(hForm.Title,Instr(hform.Title," ")-1) a 'Comma missing' he said at that line (one of the cases I don't handle correct with LineAnalyze) sFile = Left(hForm.Title, Instr(hform.Title, " ") -1) Amicalement Charlie