📊 VBA (Excel)
Apply Disable Aero Shake (VBA)
Stops shaking a window from minimizing every other open window. Applied via WScript.Shell.RegWrite from VBA.
DisableAeroShakeRegSet.bas
Attribute VB_Name = "DisableAeroShakeRegSet"
Option Explicit
Public Sub DisableAeroShakeRegSet()
Dim wsh As Object
Dim regPath As String
Set wsh = CreateObject("WScript.Shell")
regPath = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\DisallowShaking"
wsh.RegWrite regPath, 1, "REG_DWORD"
MsgBox "Disable Aero Shake applied." & vbCrLf & regPath, vbInformation
End Sub