أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
I think the best way is to insert all the code in VBA module and same the excel file into new macro enabled type.
then you can use the the functions in that module as any other functions in excel.
Thanks