D
dede
This function is working :
Private Sub Mise_Ã _jour_CRA_Click()
Call Macro_Mise_a_jour.Macro_Mise_a_jour
End Sub
But if I create an "Autoexec" macro (or any other one) with a
RunCode
Macro_Mise_a_jour()
an error message appear
And if I convert this macro to VB here's the code !
could you tell me what is wrong ?
Function Macro2()
On Error GoTo Macro2_Err
Macro_Mise_a_jour()
Call Macro_Mise_a_jour.Macro_Mise_a_jour
Macro_Mise_a_jour
Macro2_Exit:
Exit Function
Macro2_Err:
MsgBox Error$
Resume Macro2_Exit
End Function
Private Sub Mise_Ã _jour_CRA_Click()
Call Macro_Mise_a_jour.Macro_Mise_a_jour
End Sub
But if I create an "Autoexec" macro (or any other one) with a
RunCode
Macro_Mise_a_jour()
an error message appear
And if I convert this macro to VB here's the code !
could you tell me what is wrong ?
Function Macro2()
On Error GoTo Macro2_Err
Macro_Mise_a_jour()
Call Macro_Mise_a_jour.Macro_Mise_a_jour
Macro_Mise_a_jour
Macro2_Exit:
Exit Function
Macro2_Err:
MsgBox Error$
Resume Macro2_Exit
End Function