Add a text to rows option

G

Guest

In Excel I have the option to go to Data - Text to Columns to convert text
from a single cell to multiple columns. I would like to convert the text to
multiple rows.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...dg=microsoft.public.excel.worksheet.functions
 
G

Guest

There might be a better way to do this but you could use text to columns to
divide up the text and then copy...paste special....transpose (to transpose
the text from columns to rows.)
 
G

Guest

Thanks for your reply Tim. Part of my problem is that the text I am
converting is more than 256 columns, so I am losing some of it.
 
R

Richard Buttrey

How about a simple macro to:

1. Read the value of the cell into a string variable
2. Loop through the variable identifying the characters between each
succesive pair of delimiters, putting these into a second string
variable.
3. Use Range("A65536").End(xlUp).offset(1,0) = stVariable2
to list the substrings under one another.

HTH


In Excel I have the option to go to Data - Text to Columns to convert text
from a single cell to multiple columns. I would like to convert the text to
multiple rows.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...dg=microsoft.public.excel.worksheet.functions

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top