Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
modify cells from VBA formula context
Hi,
Is there some way I can modify cell properties from a formula context? I have a formula that takes a range as a parameter in in that formula I call another sub that is supposed to change font color on the cells in that range but for some reason nothing happens. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
modify cells from VBA formula context
UDFs cannot change their environment.
So this will not work from a formula. NickHK "Nik" wrote in message ups.com... Hi, Is there some way I can modify cell properties from a formula context? I have a formula that takes a range as a parameter in in that formula I call another sub that is supposed to change font color on the cells in that range but for some reason nothing happens. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
modify cells from VBA formula context
Have you tried conditional formatting?
Carl On Mar 26, 4:15 am, "Nik" wrote: Hi, Is there some way I can modify cell properties from a formula context? I have a formula that takes a range as a parameter in in that formula I call another sub that is supposed to change font color on the cells in that range but for some reason nothing happens. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
modify cells from VBA formula context
A formula or UDF cannot directly change a cell's colour. This can be
accomplished with either Conditional formatting or an Event Porcedure. -- Gary''s Student gsnu200712 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
modify all formula references in multiple cells | Excel Discussion (Misc queries) | |||
How can I modify these cells? | New Users to Excel | |||
Storing Context Information in Cells | Excel Programming | |||
How to disable the "Insert Copied Cells" context menu item | Excel Programming | |||
to modify cells from a function | Excel Programming |