Re: Difficult to calculate the Text Box Inputs
|
Oottay Keisa |
|
12/6/2007 11:25:45 PM |
Hi,
Do you get Error on all the lines of "txt.Text"...? Instead of Variant, Try to Decalare all the Variables as Single/Double Or Currency..
All the best! OOttay Post Comments |
|
Re: Thanks for swift response
|
Nazarina Habeeb |
|
12/6/2007 11:29:58 PM |
Hi I'll try it now,
Thanks for swift response - letyou know!
Post Comments |
|
Hi, Changed all to double, same response. When you say on all lines I don't know because it only shows first line of problem: Private Sub CmdCalculate_Click() (being in yellow) valsunend = Val(TxtSunEnd.Text) (.text being highlighted blue.
The strange thing is that when I go to type something like text1.text on another project it'll offer me the option of filling .text in for me. This project isn't doing that. The auto fill has only 4 options - count, item, lbound and ubound.
Can't get my head around it.
Post Comments |
|
Re: Take Care that No TextBox Name is Repeated..
|
Oottay Keisa |
|
12/6/2007 11:33:34 PM |
Hi,
OK, By mistake, you have created a Control Array of TextBoxes. In Design Mode, Go to the properties of each TextBox, and Clear Value from this property: "Index" (it will be some Integer value 0,1,..)
Just Take Care that No Text Box Name is Repeated.. Post Comments |
|
Re: Thank you so much it worked!
|
Nazarina Habeeb |
|
12/6/2007 11:34:41 PM |
Thank you so much it worked! Post Comments |
|