vba - Parsing Data in Excel Causes Crash -


I was thinking that anybody knows a way to parse large data files in VBA because whenever I'm simple Parsing data crashes the program 59 :: 59.820,9519,9519, Px (25.5), 9519,9500,10001,10226,10451,0,0,0 data such as

 < Code> 593,972, data is formatted as 15, 0,0,28.7604,25.4800,25.4841  

and approximately 3 million lines are formatted exactly the same way and I Want to get some value If the first value (in the above is 593972) is a specific number. I'm rather new to VBA so any help would be greatly appreciated. Thanks so much for your time

attempts to use FSO; Modify your needs accordingly. Sub-ParseFile () as the FSO define the object FSO set = CreateObject ("Scripting.FileSystemObject") as the dim strLine string dim arrLine () string for slow objFile console as ForReading = 1, ForWriting = 2, ForAppending = 8 set objFile = fso.OpenTextFile ("C: \ Temporary \ text file.txt", ForReading) '& lt; ObjFile.AtEndOfStream strLine = trim (objFile.Readline) needs to modify the path as to what if you need string value = Arline (0) as the first time the need for value in the ARL line = Split (Strellin, ", ") 'Parallel' one-dimensional array ', then the first value =" 593972 "is then put into the data excel if desired / end if desired if the loop objFile.Close set objFile = nothing end sub


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -