featurelist.orgfeaturelist.org
 
U
D
1 points - posted 2986 days ago by greg - status: Active - 0 comments watch embed this
Tags: excel python
Use compiler.parse, or perhaps the dis module. Make a python function that takes inputs as cell names and returns a value into an Excel function as long as excel supports what's used in your function.

Example

def add_funny(a1,b1):
temp = a1 + b1
return temp + 15

goes to

=sum(a1,b1)+15