>>Probably, this code is Ok. I prefer to load file, because it's much faster then using Cells method. I can guarantee that my code is working Ok, and I can guarantee nothing about your code. You know any OLE code should be tested on-site. If it works, then it's good.
>
>i taste your code in a form with a button , but i dont know wahth "oeworkbook" means i know that it is objetc
>but dont know what kind of objetc and how to work wit it... this is the reason tthat when im trying to test
>the programs stops and say oeworkbook its a not recognized member.. but im really sure that your code it runs
>only that i wanna taste it... so there i look for your help.
oeWorkbook is form custom property to store object reference to Excel workbook.
Edward Pikman
Independent Consultant