Reputation: 0 Apprentice
- New Members
- Active Posts:
- 10 (0.01 per day)
- 23-March 11
- Profile Views:
- Last Active:
- Nov 22 2011 06:24 AM
- Dream Kudos:
Posts I've Made
Posted 21 Nov 2011Thanks guys, I figured it out now here is what I did. I am sure this isn't the best way but it will work great for what I need to do.
Dim strText = TextBox1.Text Dim arrLines = Split(strText, vbCrLf) Dim NE As Integer = 0 For Each strLine In arrLines TextBox2.Text = (strLine) If ComboBox1.Text = strLine = True Then NE = 1 Exit For End If Next If NE = 0 Then TextBox1.AppendText(TextBox2.Text + vbCrLf) ' do something Else ' do something End If
Thanks again for always helping me out.
Posted 21 Nov 2011I would like more information on how to loop through a textbox line for line.
Posted 15 Nov 2011This part is solved, thanks guys.
Dim sStr As String Dim pos As Long sStr = TextBox1.Text pos = InStr(1, sStr, "X", vbTextCompare) TextBox2.Text = (pos)
returns the char position.
I will make a post on my next step
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
- Click here to e-mail me
cwd hasn't added any friends yet.