madhu,
In order to do this, you will have to save the two files to disk. Then,
you need to use the Excel automation model to open each document in an
instance of Excel. Then, you have to copy the contents of one document to
the other (or perform whatever operations you are looking to perform on the
two documents) and save the one document that is the result. You can then
take the file and read the bytes into a byte array.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"madhu27" <ma***********@gmail.comwrote in message
news:11**********************@n76g2000hsh.googlegr oups.com...
Hi..
I have two word applications in byte arrays.
I need to mege them and combine into one document and prompt the
user to save the merged document.
madhu