Hi Manny,
You have to declare local variables in the procedures you use them. Or you can declare global module level variable.
For example:
Sub Refresh()
Dim EPMobject As New FPMXLClient.EPMAddInAutomation
EPMobject.RefreshActiveSheet
End Sub
And please add at the beginning of the module the line Option Explicit - then all not declared variables will be shown on the compile step.
B.R. Vadim