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

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I found the issue :laugh:. 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,223,704
Messages
6,173,984
Members
452,540
Latest member
haasro02

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