AlanElston icon

Immediate Window Clear Open Close with VBA

AlanElston | PRO | 02/23/19 08:12:01 PM UTC | 0 ⭐ | 5528 👁️ | Never ⏰ | []
VisualBasic |

1.78 KB

|

None

|

0 👍

/

0 👎

Sub ImmediateWindowOpenClearCloseProgramatically()
    If Application.VBE.MainWindow.Visible = False Then Application.SendKeys Keys:="%{F11}" ' VB Editor window  Alt+F11
 Application.SendKeys Keys:="^g" ' Immediate Window  Ctrl+g
 DoEvents: DoEvents
 Debug.Print "Hello," & vbCr & vbLf & "Hopefully this will all be cleared in a few seconds"
 MsgBox Prompt:="Hello, click OK , then after this procedure is finished I open the Immediate window which theoretically I should have already done"
 DoEvents: DoEvents
 Application.OnTime earliesttime:=Now + TimeValue("0:00:03"), procedure:="WipeMy_" ' Clear Immediate Window
 Application.OnTime earliesttime:=Now + TimeValue("0:00:06"), procedure:="Trash_t" ' Close windows
End Sub
Public Sub Trash_t() ' Close Windows
 On Error Resume Next ' Add the "Name"  for your Excel language version
 Application.VBE.Windows("Immediate").Close ' English Excel
 Application.VBE.Windows("Direktbereich").Close ' German Excel
 On Error GoTo 0
 Let Application.VBE.MainWindow.Visible = False
End Sub
Public Sub WipeMy_() ' Clear Immediate Window
 Application.SendKeys "^g ^a {DEL} " ' {HOME}"
End Sub
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
' https://www.excelforum.com/excel-programming-vba-macros/343845-docking-project-explorer-vertically-2.html#post4545938
' https://www.excelcampus.com/vba/vba-immediate-window-excel/
' https://social.msdn.microsoft.com/Forums/office/en-US/da87e63f-676b-4505-adeb-564257a56cfe/vba-to-clear-the-immediate-window?forum=exceldev
' https://www.excelcampus.com/vba/vba-immediate-window-excel/#comment-90911
' http://www.eileenslounge.com/viewtopic.php?f=30&t=29579#p229156
' http://dailydoseofexcel.com/archives/2004/06/09/clear-the-immediate-window/#comment-1045809
' http://www.eileenslounge.com/viewtopic.php?f=30&t=31260#p242289

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  • Ronjulix icon
    03/30/26 12:02:40 AM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎