Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing the clipboard
Hi,
How do i get my marcos to automatically clear the clipboard when closing a file. Currently, the macros close a csv file once the contents have been copied into a central sheet. I am then faced with the question "There is a large amount of data in the clipboard, would you like to keep it.........." Once macro does this to 15 files and it is really annoying to have to keep clicking 'No' when i run it. Any help is much appreciated Cheers Greg |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing the clipboard
hi,
At the end of your macro put this Application.cutcopymode = false Regards FSt1 "Greg Billinge" wrote: Hi, How do i get my marcos to automatically clear the clipboard when closing a file. Currently, the macros close a csv file once the contents have been copied into a central sheet. I am then faced with the question "There is a large amount of data in the clipboard, would you like to keep it.........." Once macro does this to 15 files and it is really annoying to have to keep clicking 'No' when i run it. Any help is much appreciated Cheers Greg |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Clearing the clipboard
Greg,
You could also use: application.displayalerts=false before your processing starts. This will also suppress messages like "File already exists - overwrite?" You can turn the display on and off within a macro with =true/=false, but the setting reverts to true when the macro stops running Hope this helps Pete "Greg Billinge" wrote: Hi, How do i get my marcos to automatically clear the clipboard when closing a file. Currently, the macros close a csv file once the contents have been copied into a central sheet. I am then faced with the question "There is a large amount of data in the clipboard, would you like to keep it.........." Once macro does this to 15 files and it is really annoying to have to keep clicking 'No' when i run it. Any help is much appreciated Cheers Greg |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
clearing the clipboard | Excel Discussion (Misc queries) | |||
Clearing Clipboard | Excel Programming | |||
clearing the clipboard | Excel Programming | |||
Clearing clipboard | Excel Programming | |||
Clearing clipboard | Excel Programming |