📊 VBA (Excel)
Check Disable Taskbar Chat Icon Registry Value (VBA)
Reads the Disable Taskbar Chat Icon registry value via WScript.Shell.RegRead and reports it in a message box — no PowerShell or reg.exe needed.
DisableChatIconRegCheck.bas
Attribute VB_Name = "DisableChatIconRegCheck"
Option Explicit
Public Sub DisableChatIconRegCheck()
Dim wsh As Object
Dim regPath As String
Dim value As Variant
Set wsh = CreateObject("WScript.Shell")
regPath = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarMn"
On Error Resume Next
value = wsh.RegRead(regPath)
On Error GoTo 0
If IsEmpty(value) Then
MsgBox "Value not set:" & vbCrLf & regPath, vbExclamation, "Disable Taskbar Chat Icon"
Else
MsgBox "Disable Taskbar Chat Icon" & vbCrLf & regPath & " = " & value, vbInformation
End If
End Sub