Oracle text file convert to Excel

neveu

Board Regular
Joined
Jan 27, 2009
Messages
225
hello Forum,
I have the following problem:
I get an Oracle txt file with the data i need to run a report.

the problem is that the layout format is not always the same ( mainly due to tab alignement).

i have made a print screen where i have 2 different files with different layout:
-in the first image the Name1 client column is overlapping the Beleg-Nr column; in the second it is shown correctly.



i have recorded a macro for the 2nd file to format the report : to apply the text to column functionality using the tab reparator.
the problem is that if i use the macro to format the 1st file, i get the following output.


Uploaded with ImageShack.us

I'm really stuck here.
do you know if there is any way/solution to avoid all these problems.
is there a way to set the output of the file as csv instead of text, or even better to export it to excel?
or is there a solution to convert this directly to excel?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top