Help, the Left$ no longer works in my module. I get an "Type Declaration Character does not match declared data type". If I remove the $, it thinks it's an undeclared variable. Any Suggestions? This module has run correctly before.
Printable View
Help, the Left$ no longer works in my module. I get an "Type Declaration Character does not match declared data type". If I remove the $, it thinks it's an undeclared variable. Any Suggestions? This module has run correctly before.
somehow u must have messed up your references....
as a mattter of fact it's not just the left$
that won't work ut the right$ also
I think this was debated on this site... sometime ago
do a search for left$ or something like that
Maybe you are using it incorrectly, because it works fine for me.
Code:Function func()
MsgBox Left$("123", 1)
End Function
Make sure you are using the string function on a string.