Opens the text file and reads all the lines.StrOutput = strOutput + Strings.Trim(Str( CDbl(Left(arrString(2), _ StrOutput = arrString(0) + " " + arrString(1) + " " ![]() 'concatenate the first 2 column as they are 'this function adds 100$ to the last columnįunction Modif圜olumn3( ByVal strInput As String) As String StrFinal = Left(strFinal, Len(strFinal) - 2) StrFinal = strFinal + Modif圜olumn3(strLine) 'concatenate the modified line to the rest of the string 'read the current line from the text file 'loop until the end of the text file is reached The code below adds 100$ to the 3rd column: ![]() ![]() In this example the following data is in a text file located in the path “D:Temp with the name “Test.txt”:
0 Comments
Leave a Reply. |