E
erikd
The subject line may not be too descriptive, but it's the best I could
think of. I have a mainframe report that is column delimited. It's a
list of emplyee information and besides some demographic information,
it's primarily their work and home addresses.
I export this report from the mainframe and then import it into Excel
to do some simplistic manipulation. The problem is the import. I can't
come up with a method to make it repeatable. When I import it into
Excel, I go through the steps of defining the columns and then what
type of data is in each column. The line of data is about 350
characters long and Excel places the suggested column breaks at
different columns depending on which records I place into the report.
Sometimes it will place a suggested break in column 83, which is in
the middle of a USA address, but probably makes some sense for one of
the non-USA addresses further down in the report.
I know which columns are supposed to be what type (number, text, don't
import) and where the breaks should be, but I haven't run across a
method in Excel to specifiy that information beforehand or in a macro.
Any suggestions? One person suggested recording the keystrokes, but
that won't work since the suggested column breaks are not always the
same. I know I need the columns to break at columns 13, 18, 19, 24,
27, etc and I know that the first 8 colums are text and the 9th is a
number and the last column shouldn't be imported, but how do I program
that information into Excel so that I don't have to repeat essentially
the same steps every time?
Erik
think of. I have a mainframe report that is column delimited. It's a
list of emplyee information and besides some demographic information,
it's primarily their work and home addresses.
I export this report from the mainframe and then import it into Excel
to do some simplistic manipulation. The problem is the import. I can't
come up with a method to make it repeatable. When I import it into
Excel, I go through the steps of defining the columns and then what
type of data is in each column. The line of data is about 350
characters long and Excel places the suggested column breaks at
different columns depending on which records I place into the report.
Sometimes it will place a suggested break in column 83, which is in
the middle of a USA address, but probably makes some sense for one of
the non-USA addresses further down in the report.
I know which columns are supposed to be what type (number, text, don't
import) and where the breaks should be, but I haven't run across a
method in Excel to specifiy that information beforehand or in a macro.
Any suggestions? One person suggested recording the keystrokes, but
that won't work since the suggested column breaks are not always the
same. I know I need the columns to break at columns 13, 18, 19, 24,
27, etc and I know that the first 8 colums are text and the 9th is a
number and the last column shouldn't be imported, but how do I program
that information into Excel so that I don't have to repeat essentially
the same steps every time?
Erik