LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to do a function that alters the format of the cell when it is applied?

Hi,

I need to do a function that alters the format of the cell in which it is
applied. For example, suppose it is a function f() that returns a number. I
need if this number is < 0 the result in the cell will be displayed red,
else in black. How can I do that?
Any idea is welcomed

Thanks in advance

--
Faustino Dina
--------------------------------------------------------
If my email address starts with two 'f'
drop the first 'f' when mailing me.


 
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
RANKING alters when data is filtered Mantis Excel Discussion (Misc queries) 4 January 21st 10 03:31 PM
Applying function after filter is applied lacklustre Excel Worksheet Functions 4 October 11th 09 05:07 AM
Excel 2007 - Subtotal disabled if Format as Table applied jcraigue Excel Discussion (Misc queries) 0 October 13th 08 09:49 PM
Can a style be applied using a function? bobock Excel Worksheet Functions 1 December 29th 05 06:35 PM
Creating a function to test for the filters applied... Phillips Excel Programming 1 November 20th 03 07:35 PM


All times are GMT +1. The time now is 07:47 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"