Can someone tell me what is wrong with this code. When I try to run it there is a run time error 5 "invalid call, function"...
VB Code:
strB = "----------------------------------------" txtAmajSpc.Text = intAmajSpc lngPos = Val(intAmajSpc) lngPos = lngPos strFretNumb = "2" strB = Left$(strB, lngPos - 1) & strFretNumb & Mid$(strB, lngPos + 1)
txtAmajSpc is a textbox on form where user inputs a number
Anyone know what's wrong?!




Reply With Quote