04-27-2009 04:38 AM
Hi!
I have 2 Excel Files and I wish to create another Excel File finally. The resultant Excel should contents : first worksheets from first excel and last worksheets from second excel. How can I do that?
Thanks for help!
04-27-2009 05:00 AM
Hi Samoth,
you hage to use ActiveX. What have you done so far and where do you have problems?
Mike
04-28-2009 01:14 AM
Hi Mike!
I made an application that inserted into the Sheet2 an array with the Property FormulaArray. I tried to use the Property: WorksheetCopy to copy another Sheet from another .xls file, but no succes. I attached the application to see what I've done.
Thanks!
04-28-2009 01:19 AM
Hi Samoth,
see this link please
In the excel.llb you will find an example which shows how to copy a worksheet.
Mike
04-28-2009 05:23 AM
Thanks a lot Mike! This is what I was looking for.