Here is the basic idea of what my code does..when I run it, it highlights "DataReq = Right$(Totle, (Len(Totle) - 5))" and gives me error 13: Type Mismatch. Sometimes the error handling works, and other times VB never even goes to the error handler and just gives me an error!
On Error goto Fixer
Dim DataReq as Integer
*here is my code...next is the line which causes the error *ONLY if the string it's finding ISN'T a number.
*Let's say 'Totle' is "this is a test of my program"
DataReq = Right$(Totle, (Len(Totle) - 5))
Fixer:*blah blah blah....exit sub
anyone have any ideas? I think it has something to do with the fact that I have dimensioned DataReq as integer..but then it should goto the error handler!! ???????