• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Count number of lines in a txt file

sn152

Member
Hi All,


Please help me with a vba code to count number of lines in a txt file.

The path of the text file is mentioned in sheet 1, cell A1.

Please help me. Thanks!
 
Hi Narayan,

Thanks for the reply. I want the macro to count the number of lines in the text file and update the count in the excel file. I have several text files to be checked in different paths. paths are in the sheet 1 column A. I want the count to be updated in column B. Please help me . Thanks!
 
Back
Top