Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Importing multiple lines into Excel from txt.
Importing multiple lines into Excel from txt. or MSWord
I have data comprising of some 325.000 rows, naturally .csv on allows a little over 65.000. How can I imports or paste data from txt. or Word into EXCEL that the program creates more than one page to accept all the data. The macro on http://redirx.com/?33qf gave me an €œout of memory result. Regards EricB |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Importing multiple lines into Excel from txt.
Chip Pearson has a macro you can try from he
http://www.cpearson.com/excel/ImportBigFiles.aspx Hope this helps. Pete On Oct 6, 11:29*am, EricB wrote: Importing multiple lines into Excel from txt. or MSWord I have data comprising of some 325.000 rows, naturally .csv on allows a little over 65.000. How can I imports or paste data from txt. or Word into EXCEL that the program creates more than one page to accept all the data. The macro onhttp://redirx.com/?33qfgave me an “out of memory’ result. Regards EricB |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Importing multiple lines into Excel from txt.
MACRO is working now, but I need to edit each page by:
Selecting Column A Using tools: Data Text to Columns Delimited 'clear' TABS & Select COMMA Can I imput this function into the MACRO and how? I'm not great at working Macros. EricB "EricB" wrote: Importing multiple lines into Excel from txt. or MSWord I have data comprising of some 325.000 rows, naturally .csv on allows a little over 65.000. How can I imports or paste data from txt. or Word into EXCEL that the program creates more than one page to accept all the data. The macro on http://redirx.com/?33qf gave me an €œout of memory result. Regards EricB |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Importing multiple lines into Excel from txt.
If using Chip's code the data is split by comma-delimited within the code.
See.........................SplitChar = "," If using Bernie's code from the URL you posted, you will have to add a Text to Columns routine to it. Record a macro whilst runing through Text to Columns and add it to the code or just run on each sheet after import. To run on all sheets after import............... Sub splitem() Application.ScreenUpdating = False Dim ws As Worksheet Set wkbktodo = ActiveWorkbook For Each ws In wkbktodo.Worksheets Columns("A:A").Select Selection.TextToColumns Destination:=Range("A1"), _ DataType:=xlDelimited, _ TextQualifier:=xlDoubleQuote, _ ConsecutiveDelimiter:=False, Tab:=False, _ Semicolon:=False, Comma:=True, _ Space:=False, Other:=False, FieldInfo:= _ Array(1, 1), TrailingMinusNumbers:=True Next ws Application.ScreenUpdating = True End Sub Gord Dibben MS Excel MVP On Mon, 6 Oct 2008 05:26:05 -0700, EricB wrote: MACRO is working now, but I need to edit each page by: Selecting Column A Using tools: Data Text to Columns Delimited 'clear' TABS & Select COMMA Can I imput this function into the MACRO and how? I'm not great at working Macros. EricB "EricB" wrote: Importing multiple lines into Excel from txt. or MSWord I have data comprising of some 325.000 rows, naturally .csv on allows a little over 65.000. How can I imports or paste data from txt. or Word into EXCEL that the program creates more than one page to accept all the data. The macro on http://redirx.com/?33qf gave me an “out of memory’ result. Regards EricB |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Importing data from multiple excel files | Excel Discussion (Misc queries) | |||
multiple sheets when importing into excel | Excel Worksheet Functions | |||
Importing multiple XML queries into Excel | Excel Discussion (Misc queries) | |||
Importing from multiple Excel files | Excel Discussion (Misc queries) | |||
Importing txt csv files into Excel greater than 65k lines | Excel Discussion (Misc queries) |