Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi John,
For the problem you just described, TrimALL macro would have solve your problem -- didn't sound like same problem when you first described it. http://www.mvps.org/dmcritchie/excel/join.htm#trimall You might have to get more information on what to remove or change with the newlines problem. Excel only uses CHAR(10) so you would have to figure out what to to with CHAR(13). (CRLF is x'0D0A) Don't just remove them as you would at least need a space, you might do something in a new subroutine (different name) that incorporates everyting in the TrimALL macro plus the following:: Selection.Replace What:=Chr(13)&Chr(10), Replacement:=Chr(32), _ LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False Selection.Replace What:=Chr(13, Replacement:=Chr(32), _ LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False Selection.Replace What:=Chr(10), Replacement:=Chr(32), _ LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Big John" wrote in message ... "Big John" wrote: I have hundreds of email addresses in Word format. I would like to import them into Excel and have them appear on different rows. When I copy and paste all the new additions go to one row. When I import a special object it stays in a box that floats. Thanks very much for the help. It was hidden formatting that was the problem. I had solved the problem by going through my list and hitting enter after every address. There were hidden spaces and hidden open lines. Once I had the list sanitized, it went right in. I am going to try pure text, because it sounds like it would do the work for you. Thanks again. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
make XL stop interpreting email addresses as highlighted links? | Excel Discussion (Misc queries) | |||
Format email addresses | Excel Discussion (Misc queries) | |||
copy/convert column email addresses Hyperlink "mailto:" excel97 | Excel Discussion (Misc queries) | |||
How do I format email addresses as Text only? | Excel Worksheet Functions | |||
How do you sort a column of email addresses by domain name in Exc. | Excel Discussion (Misc queries) |