Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to use an array
Hi,
I am creating a macro for this plane text file something like this: 0123456abc111GNP 0312443DEF222VCF ....so on I want to put them into an array and convert to an excel file, if may data (or different files) is variable not fixed not the same above. If my other file is longer or not the same format. I am converting different files with different length and I don't want to modify my macro every now and then. 003131333gnperd141414jkjk141414 111144444sdfdsf324323bbbb333333 .... so on appreciate very much your help. Regards Eric |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to use an array
Just open the file in Excel.
-- Regards, Tom Ogilvy "Eric" wrote in message ... Hi, I am creating a macro for this plane text file something like this: 0123456abc111GNP 0312443DEF222VCF ...so on I want to put them into an array and convert to an excel file, if may data (or different files) is variable not fixed not the same above. If my other file is longer or not the same format. I am converting different files with different length and I don't want to modify my macro every now and then. 003131333gnperd141414jkjk141414 111144444sdfdsf324323bbbb333333 ... so on appreciate very much your help. Regards Eric |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to use an array
You know what, you don't understand what I am saying, I
need to put that data in an array. It is easy to open a file in excel and I know that. -----Original Message----- Just open the file in Excel. -- Regards, Tom Ogilvy "Eric" wrote in message ... Hi, I am creating a macro for this plane text file something like this: 0123456abc111GNP 0312443DEF222VCF ...so on I want to put them into an array and convert to an excel file, if may data (or different files) is variable not fixed not the same above. If my other file is longer or not the same format. I am converting different files with different length and I don't want to modify my macro every now and then. 003131333gnperd141414jkjk141414 111144444sdfdsf324323bbbb333333 ... so on appreciate very much your help. Regards Eric . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to use an array
My mistake.
I meant to say Just open the file in Excel ...so on I doubt anyone knows what you are saying. But once you open it in Excel Dim varr as Variant varr = Activesheet.Range("A1").CurrentRegion will put it in an array. -- Regards, Tom Ogilvy wrote in message ... You know what, you don't understand what I am saying, I need to put that data in an array. It is easy to open a file in excel and I know that. -----Original Message----- Just open the file in Excel. -- Regards, Tom Ogilvy "Eric" wrote in message ... Hi, I am creating a macro for this plane text file something like this: 0123456abc111GNP 0312443DEF222VCF ...so on I want to put them into an array and convert to an excel file, if may data (or different files) is variable not fixed not the same above. If my other file is longer or not the same format. I am converting different files with different length and I don't want to modify my macro every now and then. 003131333gnperd141414jkjk141414 111144444sdfdsf324323bbbb333333 ... so on appreciate very much your help. Regards Eric . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Complex conditional summing - array COUNT works, array SUM gives#VALUE | Excel Worksheet Functions | |||
Array formula: how to join 2 ranges together to form one array? | Excel Worksheet Functions | |||
Prevent cell/array references from changing when altering/moving thecell/array | Excel Discussion (Misc queries) | |||
meaning of : IF(Switch; Average(array A, array B); array A) | Excel Worksheet Functions | |||
variant array containing cel adresses convert to actual ranges-array | Excel Programming |