14 lines
194 B
Python
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) |