Help me in this

ddda123

New Member
Joined
May 27, 2016
Messages
6
Let assume this is the paragraph

"This is the first line in the para. This is the second line in the para. This is the third line in the para."

I want to paste in such a way that first line should be pasted in the first cell i.e A1 of the spreadsheet and second line in the second cell of the spreadsheet and so on.

For the given example, I want
A1- This is the first line in the para.
B2-This is the second line in the para.
C2-This is the third line the para.

Thanks
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Let assume this is the paragraph

"This is the first line in the para. This is the second line in the para. This is the third line in the para."

I want to paste in such a way that first line should be pasted in the first cell i.e A1 of the spreadsheet and second line in the second cell of the spreadsheet and so on.

For the given example, I want
A1- This is the first line in the para.
B2-This is the second line in the para.
C2-This is the third line the para.

Thanks
It is not B2 and C2, it is B1 and C1
 
Upvote 0
OK do you maybe want to take a few minutes and make up your mind lol?

Maybe post the question here again, using the correct references?
 
Upvote 0
Hi,

Let's say the full paragraph is in D1 and between lines there is .

A1 =TRIM(MID(SUBSTITUTE($D$1,".",REPT(" ",1000)),ROW(D1)*1000-999,1000))

and drag down
 
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,343
Members
449,155
Latest member
ravioli44

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