Clipboard problem

Z

Ze Seb

Hi all,

I've got a problem using the clipboard. I've got an application that
use word and made some copy a part (text, graphics, shapes, ...) of a
document, paste in an another document, and so many other things...
The problem is that I have to run multiple instance of this program...
The consequence is obvious, it will made some copy/paste conflicts
between multiple instances...

So my question is : How can I mark the thing copied in the clipboard
to avoid this conflict? And is there a way to do that in vba.


Don't know if its the right forum to post my problem, please redirect
me on another if not. Thanks.

Ze Seb
 
R

Rick Stebbins

Instead of using the Clipboard, you could add temporary
AutoTextItems to the NormalTemplate, and then delete each
AutoTextItem when you're done. However, if your
organization uses read-only Normal templates, you should
also use the "NormalTemplate.Saved = True" statement so
that Word does not attempt to save Normal.dot after you
modified it.
 

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