Et si tu rajoute ca dans tes déclaration, en haut du module :
Private Declare Function GetWindowLongA Lib "user32" _
(ByVal hwnd As Long, ByVal nIndex As Long) As Long
Private Declare Function SetWindowLongA Lib "user32" _
(ByVal hwnd As Long, ByVal nIndex As Long, _
ByVal dwNewLong As Long) As Long
Private Declare Function FindWindowA Lib "user32" _
(ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Ca déclare hwnd, par contre, je l'utilisais pour occulter la croix de mes UserForm donc à tester.
Si ça marche, c'est cool
@ +
Mortalino 