Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Import Txt file over several excel sheets

Hi, I have sucessfully used Ron de Bruin's, Copy Txt to new worksheet macro.
My txt file now however has more lines than what 1 excel page can handle.
Is it possible have the macro identify the last line imported into excel and
place all remaining lines onto a new page?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Import Txt file over several excel sheets

Tamara

The MS Knowledge Base has code to copy large text files across multiple
sheets.

http://support.microsoft.com/default...;en-us;Q120596


Gord Dibben MS Excel MVP

On Mon, 1 Dec 2008 16:59:01 -0800, Tamara
wrote:

Hi, I have sucessfully used Ron de Bruin's, Copy Txt to new worksheet macro.
My txt file now however has more lines than what 1 excel page can handle.
Is it possible have the macro identify the last line imported into excel and
place all remaining lines onto a new page?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Import Txt file over several excel sheets

I have code on my web site that will import a text file with any
number of lines and will continue the import process from one
worksheet to the next until the entire file is read in. There is no
limitation on the size of the text file other than the limitation on
Long type variables (4 billion lines) and Excel's own available
memory. There are many configuration options to control how the file
is imported, number of record per sheet, and so on. See
www.cpearson.com/Excel/ImportBigFiles.aspx for code and details.

Cordially,
Chip Pearson
Microsoft MVP
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)





On Mon, 1 Dec 2008 16:59:01 -0800, Tamara
wrote:

Hi, I have sucessfully used Ron de Bruin's, Copy Txt to new worksheet macro.
My txt file now however has more lines than what 1 excel page can handle.
Is it possible have the macro identify the last line imported into excel and
place all remaining lines onto a new page?

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
How come I can't import an .svc file(Open Office) to Excel file? beezer Excel Discussion (Misc queries) 1 August 28th 06 12:05 AM
How do I import a CSV file to excel lorraine knight Excel Discussion (Misc queries) 4 June 30th 06 05:08 PM
import flash file in excel Shahid Shafqat Excel Discussion (Misc queries) 0 June 16th 06 01:41 PM
Excel file 4MB.Copied sheets to a new file.Now=64Kb-easier way? Suza Excel Discussion (Misc queries) 2 March 27th 06 03:15 PM
Is there a way to import a pdf file in to Excel jrandall Excel Worksheet Functions 7 April 26th 05 11:10 AM


All times are GMT +1. The time now is 03:53 PM.

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

About Us

"It's about Microsoft Excel"