See what the value returned...
Add the line, and then look in the debug.window, or place a breakpoint (F9) and step thru the code.Code:LastYearSales = Val(lastY.Text) Debug.Print LastYearSales
It should not be hard to find.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Please Help Me!!Threaded View
|
Click Here to Expand Forum to Full Width |