Calling a python function using VBA

25 views
Skip to first unread message

Bastien Couzinier

unread,
Mar 28, 2024, 9:36:59 AMMar 28
to xlSlim Support
Hi, I'd like to call a python function in VBA but I didn't understand how to do so. I can call it without any problem in my spreadsheet, but if I go to the VBA editor and do "call my_function()" this doesn't work.

Could you please help me?

xlSlim Dev

unread,
Mar 28, 2024, 9:44:41 AMMar 28
to xlSlim Support
Hi,
You should be able to use Application.Run "call_my_function", "arg1", "arg2"
Regards,
Russel
Reply all
Reply to author
Forward
0 new messages