'**********************************************************************************************
' fixer le UserForm au premier plan
'patricktoulon
'**********************************************************************************************
'EXEMPLE
Private Sub UserForm_Activate()
Premier_Plan
UserForm1.Show 0
End Sub
Sub Premier_Plan()
Dim hwnd&
hwnd = ExecuteExcel4Macro("CALL(""user32"",""GetActiveWindow"",""JCC"")")
ExecuteExcel4Macro ("CALL(""user32"",""SetWindowPos"",""JJJJJJJJ""," & hwnd & ", " & -1 & ", " & 0& & ", " & 0& & ", " & 0& & ", " & 0& & ", " & (&H1 Or &H2) & ")")
End Sub