Search and replace in excel - data too long
Discussion
If you do the search and replace in Word, and save the new text as a text file, you can use Excel's "import" method rather than its "Open" method to re-open the file in Excel. This gives you control of how Excel interprets the text and will allow you to selevt something like a fixed width format with a single very wide column.
aceparts_com said:
The issue is with some carriage returns in the HTML; Word is picking them up. Any idea how I remove the formatting?
Eugghh. That may be a biut tricky.
Just a thought ... have you tried doing your search and replace in more than one pass?
I.e. if you wanted to replace "AAAAABBBBB" with "EF" you might be able to search on "AAAAA" and replace it with "E" then search on "EBBBBB" and replace it with "EF" ... or countless other variations on that theme. Clearly doing several search and replaces on substrings is not the same thing as doing the search and repalce in one go, but if you pick sensible substrings it will yield the same result in practice.
Ah hah .. you done it already. Nice way to spend a Sunday afternoon too
Edited by ATG on Sunday 20th May 15:11
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff



