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: 8
Default Search for blanks

How do you write a macro that:
1) Searches an Excel-spreadsheet and checks if contents of is cell is numeric.
2) If content is numeric then search cell for blanks and if blanks are found
replace them with nothing? E.g. I have a cell containing 55 22 11 and I want
to replace it with 552211. However I do not want: e.g. 'Market value' to be
replaced by 'Marketvalue'. Please help me on this one!!!
--
I am very thankful for any fast assistance!
 
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
Blanks non blanks in filter TaylorLeigh Excel Discussion (Misc queries) 2 September 14th 07 03:27 PM
Sumproduct copying blanks or how to insert zero into blanks asg2307 Excel Worksheet Functions 4 April 4th 07 07:26 PM
copy range of cells with blanks then paste without blanks justaguyfromky Excel Worksheet Functions 1 September 3rd 06 07:56 PM
Search and replace blanks SamanthaK Excel Programming 7 June 15th 06 12:04 PM
Paste Special Skip Blanks not skipping blanks, but overwriting... gsrosin Excel Discussion (Misc queries) 0 February 22nd 05 03:33 AM


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