Thursday, 20 December 2018
  2 Replies
  1.7K Visits
0
Votes
Undo
Hello everybody,
I would like to use the macro UpdateOfCustomizing.Export from a custom made macro like in the following example code, but I don't know how to get the Macro Parameters.
Could someone help me to get this information, if available ?

Thanks
Franco

Public Sub testExport()
Dim I As Integer
Automation.Parameters.Clear
For I = Automation.Parameters.Count To 1
DoEvents
Automation.Parameters.Add ""
Next I

Automation.Parameters.item(1) = "c:\aaa.aucx"
'Automation.Parameters.item(2) = ???
'Automation.Parameters.item(3) = ???
'Automation.Parameters.item(4) = ???
'Automation.Parameters.item(5) = ???
'Automation.Parameters.item(6) = ???
'Automation.Parameters.item(7) = ???


Automation.Run "UpdateOfCustomizing.Export"
End Sub