S
StanC
I'm searching through all files in a folder to copy selected strings to a
report. When I test the sub my Paste action often pastes the last item on
the clipboard to the report where it should paste nothing.
I'm working out an "If...then" statement to make the routine skip the
paste action if the search returns no targets.
But, I think I can see where clearing the clipboard may be useful down the
line. Is there a piece of code that clears the clipboard in Word 20003?
report. When I test the sub my Paste action often pastes the last item on
the clipboard to the report where it should paste nothing.
I'm working out an "If...then" statement to make the routine skip the
paste action if the search returns no targets.
But, I think I can see where clearing the clipboard may be useful down the
line. Is there a piece of code that clears the clipboard in Word 20003?