"Requested Clipboard operation did not succeed"

J

JJ

I am copying and pasting rtf into word through automation and occasionally i
will get the error "Requested Clipboard operation did not succeed". Usually
when this happens the only fix to get it to work again is to close word and
reopen it, or sometimes i have to completely reboot. Any idea what causes
this issue, or anyway around it without using the clipboard besides writing
to a file and inserting into the document. I really don't want to touch the
disk due to performance reasons, as there may be hundreds or thousands of
generated small rtf pieces to insert into various places.
 
H

Helmut Weber

Hi,

why not inserting the file directly?

See help for method "insertfile".

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 
J

JJ

The source if the rtf is not a file. It is a string built in memory and
saving each of these to a file just to read it back in would kill the
performance of the application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top