Macro to highlight Positive and Negative Numbers

jdoggie

New Member
Joined
Feb 9, 2013
Messages
2
Hello,
Does anyone know of a macro that will search a column in Excel and highlight duplicates positive and negative numbers. Any assistance is greately appreciated.


Values A
100
200
300
400
500
600
700
800
-100
-200
-300
-400
-500
-600
700
800

<COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY>
</TBODY>
 
Re: Excel: Macro to highlight Positive and Negative Numbers

Great Work Robert and Peter. Thank you both for your kindness.

It is been pleasure to have guys like you.

Thanks
You are very welcome. :)
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Re: Excel: Macro to highlight Positive and Negative Numbers

Hi Robert/Peter,

I just wanted to know it works perfectly and I have one more thing to help on, is there any possibilities to highlight if the positive number are split into two.

Example:
If the positive amount is 100 and the negative amount have -75 and -25, will it highlight all these three.

Thanks
 
Upvote 0
Re: Excel: Macro to highlight Positive and Negative Numbers

Sorry, I don't think there is any easy way to adapt my code to do that.
 
Upvote 0

Forum statistics

Threads
1,215,269
Messages
6,123,976
Members
449,138
Latest member
abdahsankhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top