PDA

Click to See Complete Forum and Search --> : Copy and Paste from Word to Ascii


JohnL55
Jan 24th, 2000, 09:31 AM
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?

RogerH
Jan 24th, 2000, 07:28 PM
dim strvar as string
strvar = Clipboard.GetText


now you can write the contents of strvar to the file.