Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2008

Tip: Looking for answers? Try searching our database.

Reference to functions in Conditional Formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Atreides - 14 May 2008 02:26 GMT
Hi,

I am trying to make a reference to ISEVEN() in my Conditional Formatting.
However when I do this, Excel says that Conditional Formatting cannot make
reference to other worksheets or workbooks. I don't have this problem with
other IS.... functions, (e.g. ISERROR). When I look up Insert - Function -
Information Functions in the function browser, it lists

1. ISEVEN(Number)
2. IsEven(Number)

I'm thinking that it's this duplicated function that is confusing Excel so
that it tries to look in another workbook rather than the ready-made Function.

Both of them say "Returns TRUE if the number is even." as the description.
However if I click "Help on this function" formula 1 has a help file
associated with it whereas 2 doesn't. I'm thinking that 2 is either a:

a) function I defined myself (not realising it was already defined), or
b) function included in an add-in

Investigating option a, I can't find any reference to "IsEven" in any of my
code for this workbook or for my personal workbook that stores my macros.

For option b, I have the following add-ins loaded:
- Analysis ToolPak
- Analysis ToolPak - VBA
- Internet Assistant VBA
- Lookup Wizard
- Solver Add-in

Would any of these be causing it? Or option c, d, e etc. that I haven't
thought of? Please help!

Thanks

- Atreides
Norman Jones - 14 May 2008 02:32 GMT
Hi Atreides,

I think that the IsEven function is included
with the Ansalysis Toolpack add-in and is,
therefore, not treated as a native function.

Try replacing IsEven with

       =MOD(A1,2) = 0

---
Regards.
Norman

> Hi,
>
[quoted text clipped - 35 lines]
>
> - Atreides
Atreides - 14 May 2008 03:45 GMT
Hi Norman

Interestingly, taking off Analysis Toolpak - VBA (no Analysis Toolpak) does
make IsEven disappear from the functions list. However it still causes the
same problem with conditional formatting even after I save and restart Excel.
Is there some other process required to "reset" Excel to remove references to
functions?

Your Mod trick does work though, thanks.

Atreides

> Hi Atreides,
>
[quoted text clipped - 49 lines]
> >
> > - Atreides

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.