[RESOLVED] Get the string index from textbox to msflexgrid
Me have a textbox with a sentence "please inform me before evening". The sentence length is not fixed, can change by user anytime.
My point is how to put 1st, 3rd, 5th index to msflexgrid 1. Which is : please me evening. 2nd and 4th index to flexgrid 2. Which is : inform evening.
Re: Get the string index from textbox to msflexgrid
"My point is how to put 1st, 3rd, 5th index" I think you meant word instead of "index" (which means something completely different). Use Split command to split the entire text into an array.
Dim strWords() As String
strWords = Split(Text1.Text, " ")
Then each word will be a separate element of the array, strWords(0) will be "please", (1) "inform" etc..
Re: [RESOLVED] Get the string index from textbox to msflexgrid