it's not possible to create a function that modify data/format using VBA.
It's blocked by Microsoft to ensure secutity.
You have to create a macro (and have to run it manually or uppon an event).

Regards!

2009/5/14 zek2005 <esapoz...@gmail.com>

>
> Hi!
>
> I need to create a function to define a color of a cell depending on
> the value of other.
>
> PRobably this can be achieved using Conditional Formatting, but
> actually I need to create a function for example
>
> =cellcolor(Red,referenced cell)
>
> Anyone can help me with this function?
>
> Thanks!
>
> Zek
>
> >
>


-- 
Fabio L Lemos

email: flnle...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
-------------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
-------------------------------------------------------------------------------------
-~----------~----~----~----~------~----~------~--~---

Reply via email to