J'ai réalisé le code suivant mais ça marche pas:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub LogToExcel_Click()
LogToExcel.Enabled = False
ShellExecute 0, "open", "D:\Log_To_Excel_Format.exe", vbNullString, "D:\", SW_SHOWNORMAL
LogToExcel.Enabled = True
End Sub
Je vois pas ou je me plante
STP
Merci d'avance.