Can someone give me the code to detect negative numbers on a spreadsheet and when found change the color to red.
Can someone give me the code to detect negative numbers on a spreadsheet and when found change the color to red.
try conditional formatting,
hilight the range
goto format,conditional formatting,
cell value
is less than
0
then select the conditions you want if the value is less than zero
Hi
If you want absolutely a macro, i purpose this solution
![]()
Please Login or Register to view this content.
Last edited by VBA Noob; 03-03-2007 at 04:44 PM.
Raiby,
Please in future wrap your code. I've done it for you on this occassion
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Sorry.I will try remember to do it.Originally Posted by VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks