ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Backup/Restore Clipboard (https://www.excelbanter.com/excel-programming/352790-backup-restore-clipboard.html)

Kris

Backup/Restore Clipboard
 
Hi All,

I have a macro that, because of the actions that it carries out, ends
up destroying the contents of the clipboard. Can anyone tell me how I
can backup and restore the contents of the clipboard before the body of
my macro executes?

Thanks,
Kris


Jim Rech

Backup/Restore Clipboard
 
I think you have to paste to a temporary holding sheet/area, and copy from
there at the end of your macro. This is only necessary if
Application.CutCopyMode is not equal to False of course.

--
Jim
"Kris" wrote in message
oups.com...
| Hi All,
|
| I have a macro that, because of the actions that it carries out, ends
| up destroying the contents of the clipboard. Can anyone tell me how I
| can backup and restore the contents of the clipboard before the body of
| my macro executes?
|
| Thanks,
| Kris
|



Kris

Backup/Restore Clipboard
 
Thank you for the response Jim. Do you have any idea what the macro
code to do this would look like? I've done a few Googles and I can't
seem to find anything like it anywhere.

Thanks again,
Kris



All times are GMT +1. The time now is 11:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com