Skip to Content
avatar image
Former Member

Simple Macro Question

Hello, I have a simple macro question. I am trying to refresh a report using this code. I already made sure FPMXLClient is checked in references. Here is the code, when I try to run it it gives an error.

Dim EPMobject As New FPMXLClient.EPMAddInAutomation

Sub Test()

EPMobject.RefreshActiveSheet

End Sub

The error i get is Complie Error: Invalid Outside Procedure.

Please advise. thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers