View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
WannaBeExceller WannaBeExceller is offline
external usenet poster
 
Posts: 22
Default Returning an integer from a Function

I am trying to return a variable that I have given a value within a function.
example: VarX = 10 and then I put in "return VarX" and I keep getting a
compile error. Is there another way of returning the value in vba?