My Excel workbook contains VBA submates and macros similar to the ones below; they are sitting in Module 1.
How to call them using python win32com?
Public Sub setA1(ByVal s As String) ThisWorkbook.ActiveSheet.Range("A1").Value = s End Sub Public Function getA1() As String getA1 = ThisWorkbook.ActiveSheet.Range("A1").Value End Function
Thank you very much in advance!
source share