I would like to thank you all that answered my question. Execfile() will do all that I need. Thanks. Ladislav