PyRunner/src/test/data/testWrap.py
2024-06-07 20:41:20 +03:00

14 lines
194 B
Python

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)