|
-
Nov 5th, 1999, 08:21 AM
#1
Thread Starter
Junior Member
Dim text97 As String, text96 As String, text95 As String
text97 = CountCharacters(Text1)
text96 = CountCharacters(Text2)
text95 = CountCharacters(Formsn.Text3)
Label27.Caption = text97
Label14.Caption = text96
Label2.Caption = text95
Label14.Caption = label14.caption + text96 + text95
When Label14.caption adds all the labels, it comes up with three diffrent numbers in label14 when I run it. How can I get it to add all three of the numbers that are in label14 to equal on number?
-
Nov 5th, 1999, 08:36 AM
#2
Fanatic Member
Just a suggestion: Maybe Val Function would help
Code:
label14.caption=val(label4)+val(text96)+val(text95)
------------------
Visual Basic Programmer (at least I want to be one)
-----------------
PolComSoft
You will hear a lot about it.
-
Nov 5th, 1999, 08:50 AM
#3
Thread Starter
Junior Member
Thank you QWERTY, Working great now!
: )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|