Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Macro to replace negative numbers by 0

you could format the cells to "0.00;;" which would hide neg and zero values

--
Patrick Molloy
Microsoft Excel MVP
----------------------------------
"Bill" wrote in message
...
Hello

May I please ask for your help? I have just completed an
extensive Google Groups search, but I couldn't find any
posts that dealt with this problem.

I have many large documents. I need to replace all
negative numbers found in these documents by zeros [0].
If these negative numbers were all the same number, I
would have done "find/replace", but these negative numbers
are all different...

Is it possible to write a macro that could be run to
replace all negative numbers [in the active work sheet] by
0's?

I would be very grateful for any help and all suggestions.

Sincerely


Bill



Reply
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
Preserve negative numbers in following macro Slashman Excel Worksheet Functions 2 September 12th 06 12:57 AM
How do I replace negative numbers with zero in Excel. callmewelldolunch Excel Worksheet Functions 1 March 17th 06 12:37 AM
How do I replace negative numbers with zero in Excel. A Blaylock Excel Worksheet Functions 0 March 16th 06 09:08 PM
How do I replace negative numbers with zero in Excel. Sloth Excel Worksheet Functions 0 March 16th 06 09:07 PM
Using Replace to Format Negative Numbers Denise H. via OfficeKB.com Excel Discussion (Misc queries) 4 August 11th 05 04:59 PM


All times are GMT +1. The time now is 09:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"