Separating number of lines from a cell

Danbrix

New Member
Joined
Nov 14, 2013
Messages
33
Hi

I hve a cell with as many as 100 lines and which can change depending on user input.

I can find how many lines there are using, but I want to separate the lines into different cells.

Is a way to separate number of lines just like we use mid, left and right with number of charaters?

Thanks
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Rick Rothstein

MrExcel MVP
Joined
Apr 18, 2011
Messages
38,154
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
I can find how many lines there are using, but I want to separate the lines into different cells.
Which cells do you want to separate them into... the ones to the right of the cell or the ones under the cell?
 
Upvote 0

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
7,245
Office Version
  1. 2016
Platform
  1. Windows
ADVERTISEMENT
?? @ Danbrix, why are you replying for the OP ??
 
Upvote 0

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
85,038
Office Version
  1. 365
Platform
  1. Windows
ADVERTISEMENT
@Danbrix
I have merged both accounts. In future please do not register multiple accounts as it is against board policy. See Rule#7
 
Upvote 0

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
7,245
Office Version
  1. 2016
Platform
  1. Windows
So, just to clarify, your Cell containing a variable number of "lines", does that mean they are separated by linefeeds ( carriage return, alt-enter )?

And you want it separated by chunks of 25 lines per cell, below the original cell ?
 
Upvote 0

Danbrix

New Member
Joined
Nov 14, 2013
Messages
33
The cell is linked to a userform textbox where a user may enter a variable number of lines inside the textbox which ends up in the cell.

And ideally yes I want it separated by chunks of 25 lines.
 
Upvote 0

Forum statistics

Threads
1,195,582
Messages
6,010,581
Members
441,557
Latest member
Jbest23

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
Top