Local variable cannot have the same name as the function containing it
Visual Studio 2005
A Dim statement specifies a variable with the same name as the Function procedure containing it.
Error ID: BC30290
To correct this error
-
Remove the variable declaration, or change the name of the variable.