Cutting a full Word document and pasting it in another Word Document 
Author Message
 Cutting a full Word document and pasting it in another Word Document

Cutting a full Word document and pasting it in another Word Documenthi AMB,

Can't answer your question directly,  but why don't you just try using word's "macro recorder".

Here's what you do.  Start the recorder, then just do what you want to do (like copy from one doc and paste into another).  When you are finished, then stop the recorder.  You then open up the macro dialog, and take a look at your "macro".  Word will have generated the appropriate VBA commands for you.  

cheers, jw

  How can I copy a full word document and paste it in another word document using VBA.

  Thanks,
  AMB



Fri, 04 Oct 2002 03:00:00 GMT  
 Cutting a full Word document and pasting it in another Word Document

Cutting a full Word document and pasting it in another Word Documentif you need to copy the whole of the word document try this :    

    Selection.WholeStory
    Selection.Copy
    Documents.Add
    Selection.Paste

Alex read



Sat, 05 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Pasting an address into a Word Document

2. Pasting Information From A UserForm To A Word Document

3. Write or Paste RTF data to Word Document

4. how to copy and paste a ms chart control in a word document

5. Cut&Paste In Word on the Mac

6. Accessing XML document from a Word document

7. Print a word document built from multiple sub documents using the RD tag

8. Saving page breaks from Word documents to text documents

9. Mailmerge document restored to normal document (Word 2000)

10. (Q211727) Mail merge document restored to normal document - Word 2000

11. Trouble Opening a Word Document with VB.NET,Open member not found in Documents

12. Concerting word document to text document

 

 
Powered by phpBB® Forum Software