If clipboard is empty..
On Monday, July 20, 2015 at 7:19:53 AM UTC-4, Tonso wrote:
I have an XL 2013 workbook into which I paste data from an intranet webpage.
If a user forgets to copy the data before invoking the macro that pastes the data into the workbook and manipulates it, they get the Run-time error 1004.
When the user invokes the macro with the clipboard empty, I would like foe the macro to either end, or better yet, activate a message-box that tell the user what the problem is [empty clipboard], then exits the macro. How can I accomplish this?
Thanks,
Tonso
Claus,
Thanks! Works perfect!
Tonso
|