Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default convert a document to one column

"Etc." always bothers me.

Your example shows 3 space-separated names plus and indeterminte number of names
designated by "etc."

Could there be more than 256 names in a cell?

Text to columns would not work in that case due to column limitations and you
would have to do something with the text before inporting.

If you do get them into rows, you can move them into one continuous column using
this macro.

Sub One_Column()
Dim cell As Range, i As Integer
i = 1
For Each cell In Selection
Range("d1").Cells(i) = cell
i = i + 1
Next
End Sub

Note: I used D1 as start cell only because you used 3 names. I assume you would
have those names in cols A,B,C


Gord


On Sat, 24 Jun 2006 11:52:41 -0500, EyeGorePS
wrote:


The data is in a text file and has not been imported or opened in excel.
The data is: john414 mary556 tim238 etc. I would like to place the
document into excel so that all the names a

john414
mary556
tim238

I am brand new to excel and do appreciate any help.

Thank you!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert FIGURES in one column to WORDS in another column? Shashank Virkar Excel Discussion (Misc queries) 2 November 26th 05 01:34 PM
How to convert FIGURES in one column to WORDS in another column? Shashank Virkar Excel Discussion (Misc queries) 1 November 26th 05 01:31 PM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
Lookup Table Dilemma Karen Excel Worksheet Functions 2 June 10th 05 08:22 PM
how do I convert a date and time column to a time column thdorsky2 Excel Worksheet Functions 1 March 4th 05 08:49 PM


All times are GMT +1. The time now is 11:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"