Hi,
Am trying to run a marco which inables the summation cell to turn yellow if the number is even, or red if the number odd.
Any sort off help would be great thanks
Hi,
Am trying to run a marco which inables the summation cell to turn yellow if the number is even, or red if the number odd.
Any sort off help would be great thanks
No need for code
Make sure you have the Analysis ToolPak installed
http://www.bettersolutions.com/excel...P514412778.htm
Then use conditional formatting with a formula like
http://www.contextures.com/xlCondFormat01.html
For odd condtion
For even condition=ISODD(A1)
or without the Analysis ToolPak installed=ISEVEN(A1)
=MOD(A1,2)=0=MOD(A1,2)=1
VBA Noob
Last edited by VBA Noob; 05-26-2008 at 06:28 AM.
_________________________________________
![]()
![]()
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 !!!
Many thanks for that info VBA Noob![]()
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks