S
Subodh
I want to use a function to get from a sub.
For example:
sub x(y as variant)
y=activecell.offset(1,0).value+5
end sub
Now, I want to get a function
Function myfun(z as integer)
tmp=x(z)
myfun=tmp
end function
For example:
sub x(y as variant)
y=activecell.offset(1,0).value+5
end sub
Now, I want to get a function
Function myfun(z as integer)
tmp=x(z)
myfun=tmp
end function