Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a macro that closes a file while having something copy.
There is a pop up box asking if I want to keep something on the clipboard. How do I send a "YES" message through the macro so the user won't be asked for this prompt? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Before you close that workbook, add a line:
application.cutcopymode = false Nimish wrote: I have a macro that closes a file while having something copy. There is a pop up box asking if I want to keep something on the clipboard. How do I send a "YES" message through the macro so the user won't be asked for this prompt? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub Yes()
Sheets("TempoNonBloquante").Shapes("MyShape").Visi ble = True TheEnd = Timer + 10 Do While Timer < TheEnd DoEvents Loop Sheets("TempoNonBloquante").Shapes("MyShape").Visi ble = False End Sub http://cjoint.com/?lrvoypVOY3 Cordialy JB Nimish a écrit : I have a macro that closes a file while having something copy. There is a pop up box asking if I want to keep something on the clipboard. How do I send a "YES" message through the macro so the user won't be asked for this prompt? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|