G
Guest
Hi .... i have a problem that how i can call a function in Excel VBA the
problem is.
public function price(item)
if(item = "apple") then
price =10
tax=0.2
elseif(item="orange") then
price =8
tax=0.5
end if
end function
But now how to get the exact tax number of apple which is 0.2
thanks in advance
problem is.
public function price(item)
if(item = "apple") then
price =10
tax=0.2
elseif(item="orange") then
price =8
tax=0.5
end if
end function
But now how to get the exact tax number of apple which is 0.2
thanks in advance