Option Explicit
Dim App_Excel
Sub Macro_Externe()
Set App_Excel = CreateObject("Excel.Application")
App_Excel.Workbooks.Open Filename:=ThisWorkbook.Path & "\Test_Code.Xlsm"
App_Excel.Run "Test_Code.Xlsm!Code_Externe"
DoEvents
End Sub
Sub Fermer_Macro_Externe()
On Error Resume Next
App_Excel.Run "Test_Code.Xlsm!Code_Externe_2"
DoEvents
App_Excel.Quit
Set App_Excel = Nothing
End Sub