VB automatically overrides my capitalization
Posted on 2011-02-26
I prefix string variables with "s", and integer variables with "i".
I made the mistake of dimensioning:
Dim sTR As String.
Instead of troubling to spell the variable out: sTableRuns
I have an integer:
Dim iTR As Integer.
iTR is computed. I wish to convert it to a string:
sTR = Str$(iTR)
But VB changes this to sTR$(iTR)
Realizing my mistake, I renamed the variables iTableRuns and sTableRuns.
But it is apparently too late.
Now, VB insists on re-formatting the function name Str$ to sTR$, and it doesn't work!
Help! What can I do?
I tried a global find and replace. It said it made the replacement, but it didn't.
There has got to be an option buried somewhere to turn this automatic editing feature off. I don't know where it is.