Use invoking session inside XLSM

Sage menu invoked an XLSM file

Inside that XLSM file I want to use the invoking Sage300 session because customer has limited licenses

So do not want to login and make another session with another userid and  or have to know user's password etc.

sort of like invoking a macro that inherits session connection; but I am in Excel and doing VBA code.

any helps ?  thanks much in advance