ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Intimate the # of records being imported (https://www.excelbanter.com/excel-programming/434703-intimate-records-being-imported.html)

Faraz A. Qureshi

Intimate the # of records being imported
 
Upon importing data from a txt file can the user be intimated of the number
of rows/records existing in such a file so as o determine the time and # of
rows available in the sheet?
--
Best Regards,

Faraz

joel

Intimate the # of records being imported
 
Yo can open a text file in a macro and read one line at a time into the
worksheet. You can also read through the entire file to find the number of
lines.. then return to the beginning of the file and read the file into the
worksheet. Opentext method is just an easy was of reading a text file but
doesn't have all the options you require. there are a number of methods that
can be used such as OpenTextfile Method, Open file, and Getfile are a few
methods.

"Faraz A. Qureshi" wrote:

Upon importing data from a txt file can the user be intimated of the number
of rows/records existing in such a file so as o determine the time and # of
rows available in the sheet?
--
Best Regards,

Faraz



All times are GMT +1. The time now is 08:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com