LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Removing special characters and extra white space

How do you remove the white space between words in a macro? I want t
remove any spaces greater than 1 and replace them with 1 space. I als
would like to know how to remove question marks and asterisks (I'
removing all special characters but those two in peticular ar
tricky).

I came across the code() function and realized that the only codes
need are 65-90 (A-Z), 97-122 (a-z), 48-57 (0-9), and 32 (space). So I'
like to remove any codes that arent equal to any of those numbers.

Thanks

--
Message posted from http://www.ExcelForum.com

 
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
Extra White Space Between Cells Leesa Excel Discussion (Misc queries) 1 May 25th 05 07:00 PM
Extra White Space between Cells Leesa Excel Discussion (Misc queries) 1 May 25th 05 06:56 PM
Extra White Space Between Cells Leesa Excel Discussion (Misc queries) 1 May 25th 05 12:17 AM
Extra White Space Between Cells Leesa Excel Discussion (Misc queries) 0 May 24th 05 08:46 PM
Extra White Space Between Cells Leesa Excel Discussion (Misc queries) 0 May 24th 05 08:30 PM


All times are GMT +1. The time now is 02:45 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"