cancel
Showing results for 
Search instead for 
Did you mean: 

EPM Macro Issue

former_member481715
Participant
0 Kudos

Hello, I am trying to create a simple macro. I made sure that FPMXLClient is checked under references. then I tried to run it. I get the following error:

"Run time error 424"

Please advise.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

The object have to be defined like:

Dim EPMexample As New FPMXLClient.EPMAddInAutomation

former_member481715
Participant
0 Kudos

That worked. Thanks a lot.

Answers (2)

Answers (2)

former_member481715
Participant
0 Kudos

Sub Test()

EPMexample.DataManagerOpenRunPackageDialog

End Sub

former_member186338
Active Contributor
0 Kudos

Code sample please!

former_member481715
Participant
0 Kudos

Sub Test()

EPMexample.DataManagerOpenRunPackageDialog

End Sub

former_member186338
Active Contributor
0 Kudos

And were is the definition of EPMexample variable?

former_member481715
Participant
0 Kudos

sorry kind of new to this, where should I declare it? I just want to create a button to open DM Package window. thanks.