import vbatopy as vba @vba.func def hello(name): return f"Hello {name}!" @vba.sub def get_42(): return 42 @vba.obj @vba.func def get_a_cell(worksheet): return worksheet.Cells(1,1)