Hello Experts,
I have a quick question. We are using VBA within the Excel EPM to save and refresh data. I have other workbooks that work. I began by copying the same code into my new workbook and I get an error. I did some research online and it appears I have the correct setup. Could someone please provide some input? I assume is something simpile, I am just not very experince with VBA yet. The error states 'Compile Error: User-defined type not defined on the "Global..." line.(**)
Option Explicit
Global EPMObj As New FPMXLClient.EPMAddInAutomation (**)
Public Sub Refresh_Data()
Set EPMObj = New EPMAddInAutomation
EPMObjRefreshActiveWorkBook
End Sub
Thanks,