Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
kevinz
 
Posts: n/a
Default Help with 65536 macro


Ok, I know excel has the 65536 limit.. but found the code that I guess
will split files up for you. Problem is, I cannot figure out how to get
to work.

Could anyone explain how to do that? I have a more than a few files I
would like to load in excel and are way more than 65k.. This would be a
life saver.

Thank you so much


--
kevinz
------------------------------------------------------------------------
kevinz's Profile: http://www.excelforum.com/member.php...o&userid=32759
View this thread: http://www.excelforum.com/showthread...hreadid=527367

  #2   Report Post  
Posted to microsoft.public.excel.misc
exceluserforeman
 
Posts: n/a
Default Help with 65536 macro

What type of files are they? Text Files? XLS Files? Why load into excel?
Give example of file size. and maybe the code you describe...

"kevinz" wrote:


Ok, I know excel has the 65536 limit.. but found the code that I guess
will split files up for you. Problem is, I cannot figure out how to get
to work.

Could anyone explain how to do that? I have a more than a few files I
would like to load in excel and are way more than 65k.. This would be a
life saver.

Thank you so much


--
kevinz
------------------------------------------------------------------------
kevinz's Profile: http://www.excelforum.com/member.php...o&userid=32759
View this thread: http://www.excelforum.com/showthread...hreadid=527367


  #3   Report Post  
Posted to microsoft.public.excel.misc
kevinz
 
Posts: n/a
Default Help with 65536 macro


They are text files, but delimited with commas.. I need to load them
into excel because I need to remove some of those fields and add some
new fields. It makes it easy for me in excel, but I have a couple of
files that just grew too big.. Couple over 100,000 and 200,000


--
kevinz
------------------------------------------------------------------------
kevinz's Profile: http://www.excelforum.com/member.php...o&userid=32759
View this thread: http://www.excelforum.com/showthread...hreadid=527367

  #4   Report Post  
Posted to microsoft.public.excel.misc
exceluserforeman
 
Posts: n/a
Default Help with 65536 macro


Try

Data import data


What you really need is to import the first 60,000 lines, then import the
next 60,000 lines.







They are text files, but delimited with commas.. I need to load them
into excel because I need to remove some of those fields and add some
new fields. It makes it easy for me in excel, but I have a couple of
files that just grew too big.. Couple over 100,000 and 200,000


--
kevinz
------------------------------------------------------------------------
kevinz's Profile: http://www.excelforum.com/member.php...o&userid=32759
View this thread: http://www.excelforum.com/showthread...hreadid=527367


  #5   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default Help with 65536 macro

With the Data Import Wizard you can specify to start importing at a
particular row. However, the maximum this can be is 32k (32768), so
this allows you to import up to 96k records in two passes - the first
pass will get the first 64k rows and the second pass will get 32k -
96k. You thus have the rows 32k-64k in both worksheets, and you will
need to delete the duplicates.

If you have files with over 96k records you will need a different
strategy - you could load the file into Access and then split it from
there into Excel-sized chunks, or try the same with Wordpad, or you
could use Quattro Pro or Lotus which will accommodate up to 1,000,000
rows.

Alternatively still, Microsoft posted a macro to work on large files
and automatically split them into 64k sheets - I don't have the
reference myself, but you could search their Knowledge Base articles.

Hope this helps.

Pete



  #6   Report Post  
Posted to microsoft.public.excel.misc
kevinz
 
Posts: n/a
Default Help with 65536 macro


Pete, that was my problem.. I found the microsoft macro that is suppose
to split it up. I am just unsure how to use it

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

It gives you the code, but I just can't get it to work. Little lost
using it.


--
kevinz
------------------------------------------------------------------------
kevinz's Profile: http://www.excelforum.com/member.php...o&userid=32759
View this thread: http://www.excelforum.com/showthread...hreadid=527367

  #7   Report Post  
Posted to microsoft.public.excel.misc
Door
 
Posts: n/a
Default Help with 65536 macro


The code works as per the attached

You will need to highlight Column A and select Data, Text-to-Columns
for your data.



kevinz Wrote:
Pete, that was my problem.. I found the microsoft macro that is suppose
to split it up. I am just unsure how to use it

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

It gives you the code, but I just can't get it to work. Little lost
using it.



+-------------------------------------------------------------------+
|Filename: Book2.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4563 |
+-------------------------------------------------------------------+

--
Door
------------------------------------------------------------------------
Door's Profile: http://www.excelforum.com/member.php...o&userid=33068
View this thread: http://www.excelforum.com/showthread...hreadid=527367

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
Search, Copy, Paste Macro in Excel [email protected] Excel Worksheet Functions 0 January 3rd 06 06:51 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
macro with F9 Kenny Excel Discussion (Misc queries) 1 August 3rd 05 02:41 PM
Make Alignment options under format cells available as shortcut dforrest Excel Discussion (Misc queries) 1 July 14th 05 10:58 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM


All times are GMT +1. The time now is 05:12 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"