Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In closing a large file, Excel asks if you want to retain its contents in the
clipboard. This confirmation request even occurs when a macro closes the file. What code do I use to disable this confirmation message (and proceed to just close the file)? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Application.CutCopyMode = False
before you execute the command that causes the prompt will clear the clipboard and prevent it. or Application.DisplayAlerts = False ' code that causes the prompt Application.DisplayAlerts = True -- Regards, Tom Ogilvy "hmm" wrote: In closing a large file, Excel asks if you want to retain its contents in the clipboard. This confirmation request even occurs when a macro closes the file. What code do I use to disable this confirmation message (and proceed to just close the file)? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom.
FYI, clearing the clipboard is faster execution than disabling display alerts. My next step is to disable screen updating. "Tom Ogilvy" wrote: Application.CutCopyMode = False before you execute the command that causes the prompt will clear the clipboard and prevent it. or Application.DisplayAlerts = False ' code that causes the prompt Application.DisplayAlerts = True -- Regards, Tom Ogilvy "hmm" wrote: In closing a large file, Excel asks if you want to retain its contents in the clipboard. This confirmation request even occurs when a macro closes the file. What code do I use to disable this confirmation message (and proceed to just close the file)? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to disable displaying clipboard within Excel? | Excel Discussion (Misc queries) | |||
How to disable MS Excel Clipboard message when I run a macro | Excel Programming | |||
Disable Clipboard Memory Saver | Excel Programming | |||
How do I disable 'clipboard' message window in an Excel macro? | Excel Programming | |||
Disable Clipboard Dialog Box during Macro | Excel Programming |