Salut Benoit, found a strange thing . you can declare a Datatype Long even the editor turns a long to Long. ex: Dim lnCount as long , became : DIM lnCount AS Long but if you call the Function where this Datatype is declared, the Interpreter left the execution without any Error-Message. regards Charlie