Bonjour à tous,
J'ai trouvé des codes, mais je ne sais pas où je dois les mettre, dans le workbook, ailleurs ???
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 IpClassName As String, ByVal IpWindowName As String) As Long
Private Sub UserForm_Initialize()
Dim hWnd As Long
hWnd=FindWindowA("Thunder" & IIF(Application.Version lIKE "8*", "X", "D") & "Frame", Me.Caption)
SetWindowLongA hWnd,-16, GetWindowLongA(hWnd,-16)And &HFFF7FFFF
End Sub
Moi je suis perdu.
psi343
"Le savoir est la seule matière qui s'accroit quand on la partage" (SOCRATE)