Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 211
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
current date it should intimate cheques due by colour change mas Excel Discussion (Misc queries) 1 June 10th 07 09:50 AM
Using vb to paste records from 1 sheet, to related records in another chrisnichols87 Excel Programming 0 January 10th 07 10:59 AM
Copy Records from Access Database table(more than 5 lakh records in this table) to Excel Sheet divya Excel Programming 1 October 26th 06 12:12 PM
draw 999 x 8 random records from file with 8614 records news.wanadoo.nl Excel Programming 1 March 1st 06 03:04 PM


All times are GMT +1. The time now is 05:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"