Suppose if we write a function as follows:Public function Sum (parameter1,.......)a = 10b = 10c = a + bmsgbox cSum = cEnd FunctionAlways one thing make sure that whatever the value you return, for ex,...
Temp = ABC()msgbox tempFunction ABC() ABC = "as"End FunctionYou have to return the value using the function name as variable. Hope it helps!Thanks,Anita