| The following code takes the contents of a Multiline Text box and uses the Carriage return (and Line Feed) characters to delimit the slices Dim SplitResults() As String Dim ThisSlice As Integer 'Slice up the String SplitResults = Split(Text1.Text, vbCr & vbLf, True, vbTextCompare) 'Loop through the results For ThisSlice = LBound(SplitResults) To UBound(SplitResults) Debug.Print SplitResults(ThisSlice) Next ThisSlice |
Split Contents of Multiline Text Box |
Freelance ASP PHP web development | Web developer India Web development India| Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design