Results 1 to 2 of 2

Thread: Copy and Paste from Word to Ascii

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 1999
    Location
    Milford, NH
    Posts
    15

    Post

    Open word document, use wd.editcopy to clipboard. Now I open a ascii file with
    Open "xxx.txt" for output as 1
    Now, how do I paste the clipboard into this document?

  2. #2
    Lively Member
    Join Date
    Dec 1999
    Location
    Karlsruhe, Germany
    Posts
    122

    Post

    Code:
    dim strvar as string
    strvar = Clipboard.GetText
    now you can write the contents of strvar to the file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width