Home |
Search |
Today's Posts |
#15
Posted to microsoft.public.excel.programming,microsoft.public.word.vba.general
|
|||
|
|||
Clear Office Clipboard from VBA?
"Tony Jollans" wrote: I've tried clearing this Office clipboard using the code that Jonathat gave me, but the problem persists. As I tried to explain in one of my posts, I wouldn't expect it to make any difference. I didn't really expect it to make a difference either, but I wanted to try all the suggestions that were offered by the various posters here. If I step through my code, it always works perfectly. So debugging is next to impossible. In this case it is probably a timing (or perhaps a locking) problem. It is worth trying to put one or more DoEvents statements in the code to allow the system to catch up with itself. Precise logic behind this is often impossible to explain but trial and error can sometimes lead to a resolution. I've tried that before, but with a relatively short loop. I'll try it again with a longer loop and see if it helps. You said originally that the problem was with images yet you are copying a paragraph range - does it contain images? And, if so, are they linked? Yes, the images are inserted inline with the text, so when I copy the paragraph, I'm really just copying the image. (It's the only item in the paragraph.) No, the images aren't linked. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Transfer clipboard from Task pane clipboard(office?) content to Excel (windows?) clipboard? | Excel Programming | |||
VBA Clear clipboard | Excel Programming | |||
Clear and control the Office clipboard in Excel | Excel Programming | |||
Clear Clipboard | Excel Programming | |||
Office Clipboard: Clear all with VBA-macro? | Excel Programming |