'https://www.teachexcel.com/excel-tutorial/2026/removing-the-title-bar-from-a-userform
Sub HideBar(frm As Object)
Dim Style As Long, Menu As Long, hWndForm As Long
'une classe de UserForm est de type ThunderXFrame ou ThunderDFrame (selon version)
hWndForm = FindWindow("Thunder" & IIf(Application.Version Like "8*", "X", "D") & "Frame", Me.Caption)
Style = GetWindowLong(hWndForm, GWL_STYLE)
Style = Style And Not WS_CAPTION
SetWindowLong hWndForm, GWL_STYLE, Style
DrawMenuBar hWndForm
End Sub
Private Sub UserForm_Initialize()
HideBar Me
End Sub