Thread
:
VBA automatically updating variable names
View Single Post
#
2
Posted to microsoft.public.excel.programming
Luke Alcatel[_2_]
external usenet poster
Posts: 7
VBA automatically updating variable names
Be more imaginative and use much more descriptive and unique names for your
function parameters.
Luke
"Mike T" <Mike
wrote in message
...
I defined 2 functions in the same module. One function use lower case 'x'
as
the arguement and the other uses upper case 'X' as the arguement(see
below).
VBA automatically changes one of the arguements to match the other. It
does
the same thing even if I put each of the functions in different modules.
Function fun1(x As Integer)
End Function
Function fun2(X As Integer)
End Function
Can someone please explain this and if I can prevent it? Thanks
Reply With Quote
Luke Alcatel[_2_]
View Public Profile
Find all posts by Luke Alcatel[_2_]