opus, i have try your code. when i used "sample.txt" file.it can work. But, when i used another text.file(output.txt - i hv attach the file).it came out an error "invalid procedure call or argument" and highlight the line longitude = CSng(Left(data, InStr(1, data, " ") - 1)). Why???
Forum Rules