Help with Excel Macro Error

jethro11

New Member
Joined
Aug 27, 2002
Messages
14
Hi,
I am running a simple excel macro which opens up a .dat file, then copies it over into an excel spreadsheet and finally saves it as an .xls file. However each time I run it I get an error saying "Compile error: Out of memory".
It highlights the code at the following place: FieldInfo:= ......Array(58, 1).The dat file itself is just 993 KB so whats the problem?? Any help would be appreciated!
 

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Watch MrExcel Video

Forum statistics

Threads
1,118,168
Messages
5,570,649
Members
412,335
Latest member
cinciri99
Top