Hi All
I'm trying to clear the clicpboard using VBA so i don't get messages asking me what to do.
is this possible and if so how?
i could simply turn all alerts off but i rather not
thanks all![]()
Hi All
I'm trying to clear the clicpboard using VBA so i don't get messages asking me what to do.
is this possible and if so how?
i could simply turn all alerts off but i rather not
thanks all![]()
Last edited by Macdave_19; 11-24-2008 at 08:37 AM.
Mr MaGoo
Magoo.Inc MMVII
If i've helped please add to my Rep by Clicking on the Blue Scales in the top right hand corner of the post
To clear the Excel clipboard,
Clearing the Office clipboard require Windows API.![]()
Please Login or Register to view this content.
Why not suppress alerts?
Entia non sunt multiplicanda sine necessitate
Good afternoon Macdave_19
The clipboard is a Windows object, so clearing it via VBA requires the use of APIs. Chip Pearson shows how to do it here, if you're still reading (don't worry - it's only a little routine)
Alternatively, you can use this instruction :
It will stop the "marching ants" and stop VBA bugging you with alerts, but it won't clear the clipboard.![]()
Please Login or Register to view this content.
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
thankls guys that solves the problem of me getting a prompt when the workbook is closed![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks