Don't use a ByRef parameter - just use a function properly.
Sub mySend()
Dim myNum As Integer
myNum = InputBox("Enter number")
myNum = myReturn(myNum) '// You need to assign (=) the value to the variable
msgbox myNum
End Sub
'--------------------------------------
Function myReturn(number As Integer) As Integer '// Note the return type after the ()
Dim myCalc As Integer
myCalc = number + 10
myReturn = myCalc
End Function
If you want to pass a variable by reference in your example, then you need to actually change the value of that same variable otherwise when you reference it again in the calling code that value will not have changed:
(This is your code amended to show the result of ByRef when used properly, I don't recommend actually using this code)
Sub mySend()
Dim myNum As Integer
myNum = InputBox("Enter number")
myReturn myNum '// No need for parentheses here
msgbox myNum
End Sub
'--------------------------------------
Function myReturn(ByRef myNum As Integer)
myNum = myNum + 10
End Function