LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default how do i clean out all non-letter characters from an excel sheet

Depends on the frequency of particular nonalpha characters. If the
nonalphas were random with few if any multiple instances in any cell,
then your approach may be faster. But if there were multiple instances
of particular characters, getting rid of all of them (and shortening
the string in the process) could be faster.


There is nothing like knowing the data you are working with when designing
an algorithm.

Also, you don't need to insert " " for instances of " " in mystr, so
make the second Like pattern "[!A-Za-z ]".


LOL... Good catch... It always surprises me how easy it is to overlook the
obvious.

Rick

 
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
Clean non printable characters and replace with space rtremblay Excel Worksheet Functions 8 December 1st 06 11:10 PM
help wanted to clean up a data sheet jvoortman Excel Discussion (Misc queries) 9 October 24th 05 03:38 PM
How to rename Excel Sheet with more characters? Billy316 Excel Discussion (Misc queries) 4 July 20th 05 05:11 AM
clean characters bookworm Excel Discussion (Misc queries) 1 June 26th 05 04:31 PM
search in the entire sheet for different letter and cal. Peter FS Excel Worksheet Functions 7 June 18th 05 11:59 PM


All times are GMT +1. The time now is 06:55 PM.

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"