📊 VBA (Excel)

Apply Disable Balloon Tip Notifications (VBA)

Disables the small notification balloon tips in the system tray. Applied via WScript.Shell.RegWrite from VBA.

By WindowsScripting.com · 447 B
DisableBalloonTipsRegSet.bas
Attribute VB_Name = "DisableBalloonTipsRegSet"
Option Explicit

Public Sub DisableBalloonTipsRegSet()
    Dim wsh As Object
    Dim regPath As String

    Set wsh = CreateObject("WScript.Shell")
    regPath = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips"

    wsh.RegWrite regPath, 0, "REG_DWORD"

    MsgBox "Disable Balloon Tip Notifications applied." & vbCrLf & regPath, vbInformation
End Sub