Application app=new Application(); Document doc1,doc2; doc1=app.Documents.Open(...); doc2=app.Documents.Open(...); doc1.Activate(); object start=25,end=45; doc1.Range(ref start, ref end).Copy(); doc2.Activate(); start=1; doc2.Range(ref start, ref start).Paste();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)