Re: Please read ALL!!!!!!

NATURALLY IT WORK EXACLTY FOR ME...

Official Tks to Hans, for me the wizard of www.!!!!:-)
I have visited for 1 month the solution on the web, believe me, Hans have make for me a solution in one minute, no have error with the first test!

only a dubt:
This isntruction --- Line Input #1, RIGA --- in my old macro skip the line and go to the next is the same for FSO RIGA.skip
or i am confused about FSO?

Re: Please read ALL!!!!!!

The instructions

Line Input #1, RIGA

and

RIGA = fil.ReadLine

both read one line of the text file into the variable RIGA and move to the next line of the text file, so that if you execute the instruction again, you will read the next line, not the same line. You would only need fil.SkipLine if you want to move to the next line without reading it.

Re: Please read ALL!!!!!!

CLEAR....!

A stupid request.
I have tell me abiut the speed import and wath is the difference from 2 metod to import a value from a txt file...
But is possible to show a msbox with a time of elaboration after the macro is finished, in this mode i compare a time of work.

Re: Please read ALL!!!!!!

Yes. i have see the post you suggest me, you must know, i import a txt file of 86mb(!) every day...
I compare tomorrow (with you test time) the difference, when the external procedure make a new file...
Tks for all.