CSV text copied to Excel

velicumarius

New Member
Joined
Sep 21, 2016
Messages
4
Hello,

I have a problem when I am copying a csv text from a .txt file into Column A - on some rows the data is split between col A and C.
I don't want to use the import csv. function because this is part of an RPA process and I want to keep it as simple as possible.
Basically, what I am doing is to open a .txt file that contains csv formatted data, I am copying all the information and paste it into an excel file in column A.
From here I have small vba code that is doing the text_to_columns part which should not be the problem since I tried to do it manually and I have the same problem.

Thank you,
Marius
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I found the issue :LOL:. There are two tab spaces in the csv text and this is way excel is moving the information all the way to column C.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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