Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Conditional Formatting using Custom VBA functions

I have a custom function that takes an excel range and returns a variant
array of doubles. I put this in a module in the workbook that i am
using it.

I can use it to do things like having a cell formula =
"=funct(A1)=max(funct(A1:A10))", and it works correctly.

However, when I try to use the same exact formula as above in
conditional formatting, it does not work. THe conditional formatting
just doesn't do anything. Is this a bug in Excel, or am I missing
something?

Any help would be most appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Conditional Formatting using Custom VBA functions

Never mind! I figured it out. My function didn't properly take care of
blank cells in the range. Now it works properly.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default Conditional Formatting using Custom VBA functions

Actually, I do have a question. When calling custom vba functions from
within conditional formatting, and i set a breakpoint in the code for
the function, it never breaks, even though i know that the conditional
formatting is evaluating itself again.
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
custom function with conditional formatting? Steve Excel Discussion (Misc queries) 4 August 28th 09 03:40 PM
Conditional Formatting - Applying Format Based Custom Functions FARAZ QURESHI Excel Discussion (Misc queries) 2 May 8th 08 05:03 AM
Conditional formatting/functions [email protected] Excel Discussion (Misc queries) 1 May 5th 08 05:34 AM
OR Functions in a Conditional Formatting Furmula Kevin Rodriguez Excel Worksheet Functions 4 August 25th 06 10:10 AM
combining conditional formatting and functions zvi Excel Worksheet Functions 2 December 9th 05 12:37 PM


All times are GMT +1. The time now is 03:26 AM.

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"