Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to close a file without saving it in my macro, but
it asks "whethere I want to keep the info in the clipboard..." Can I do something in the macro to say "no" or to avoid this message? Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Lee,
This message gets displayed if there is still data in the clipboard from a previous cut/copy. It's a good habit to enter the following command after pasting (or whatever) the data:- Application.CutCopyMode = False - to clear the clipboard. I've had some memory management problems when I failed to do this. If you still need the paste info. after closing, use:- Application.DisplayAlerts = False ActiveWorkbook.Close SaveChanges:=False Application.DisplayAlerts = True to prevent the message. Personally I take the message as a warning that I've missed cleaning up after a cut/copy. regards, JohnI "Lee S." wrote in message ... I want to close a file without saving it in my macro, but it asks "whethere I want to keep the info in the clipboard..." Can I do something in the macro to say "no" or to avoid this message? Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
After the paste :
Application.CutCopyMode =False HTH Paul ---------------------------------------------------------------- On Fri, 12 Sep 2003 15:04:59 -0700, "Lee S." wrote: I want to close a file without saving it in my macro, but it asks "whethere I want to keep the info in the clipboard..." Can I do something in the macro to say "no" or to avoid this message? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clipboard empty but still get waring that clipboard is full | Excel Discussion (Misc queries) | |||
Large amount of info on the clipboard | Excel Discussion (Misc queries) | |||
Excel - give users option to keep info in clipboard after pasting | Excel Discussion (Misc queries) | |||
Subject: Not showing "info on clipboard" message | Excel Programming | |||
Not showing "info on clipboard" message | Excel Programming |