![]() |
copy and paste and clipboard contents message
I am copying and pasting data using a macro. After the data is successfully
copied and pasted i get a message: Large amounts of data are on the clipboard do you want to be able to paste this data into a program later? yes no cancel. Can i just clear the clipboard in my macro to avoid this message ??? or circumvent the message? -- thanks dr chuck |
copy and paste and clipboard contents message
Try the DisplayAlerts Property. This can be used to turn off alerts during
execution. Be sure to set the property to true at the end of the Macro. "dr chuck" wrote in message ... I am copying and pasting data using a macro. After the data is successfully copied and pasted i get a message: Large amounts of data are on the clipboard do you want to be able to paste this data into a program later? yes no cancel. Can i just clear the clipboard in my macro to avoid this message ??? or circumvent the message? -- thanks dr chuck |
copy and paste and clipboard contents message
Hello Dr Chuck, DisplayAlerts will automatically select the default button on the dialog. I have never had the dialog you describe be displayed so I don't which button is the default. You can try clearing your clipboard before the macro exits by using this line of code... Application.CutCopyMode = False Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=554812 |
copy and paste and clipboard contents message
Leith,
Thanks. The code is exactly what i was looking for. -- dr chuck "Leith Ross" wrote: Hello Dr Chuck, DisplayAlerts will automatically select the default button on the dialog. I have never had the dialog you describe be displayed so I don't which button is the default. You can try clearing your clipboard before the macro exits by using this line of code... Application.CutCopyMode = False Sincerely, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=554812 |
All times are GMT +1. The time now is 04:46 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com