Open VBE and in the workbook’s code (for instance a module), type this:
Sub RetrieveFromVBACompiler()
Dim XLSPadlock As Object
Set XLSPadlock = Application.COMAddIns(“GXLSForm.GXLSFormula”).Object
MsgBox XLSPadlock.PLEvalVBA(“RetrieveMyVariable”, “”)
Set XLSPadlock = Nothing
End Sub