As CodeCaster said, you should approach your problem in a different way, heres a example code:
Public Function functionA() As Integer
Call functionB(True)
End Function
Public Function functionB(Optional bFromA As Boolean = False) As Integer
If bFromA Then
...
Else
...
End If
End Function
And you could even create your own set of options in order to call your function from different places with different processing options:
Public Enum OptionTypeB
DefaultOpt
OptionName1
OptionName2
OptionName3
End Enum
Public Function functionB(Optional bOptions As OptionTypeB = OptionTypeB.DefaultOpt) As Integer
....
End Function