Thread
:
Using a sub within a function
View Single Post
#
1
Posted to microsoft.public.excel.programming
Subodh
external usenet poster
Posts: 99
Using a sub within a function
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
Reply With Quote
Subodh
View Public Profile
Find all posts by Subodh