Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings all,
I need to be able to make a series of labels in a user form to display a -ve currency value in Red For non -ve value I have no problem Results.Controls("AProfit" & i) = Format(a - c, "$#,##0") but I can't make it It trurn red with a -ve value Results.Controls("AProfit" & i) = Format(a - c, "$#,##0;-[Red]$#,##0") Any suggestions would be appreciated |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use the forecolor property of the label.
-- Regards, Tom Ogilvy "David Adamson" wrote in message ... Greetings all, I need to be able to make a series of labels in a user form to display a -ve currency value in Red For non -ve value I have no problem Results.Controls("AProfit" & i) = Format(a - c, "$#,##0") but I can't make it It trurn red with a -ve value Results.Controls("AProfit" & i) = Format(a - c, "$#,##0;-[Red]$#,##0") Any suggestions would be appreciated |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for that.
"Tom Ogilvy" wrote in message ... Use the forecolor property of the label. -- Regards, Tom Ogilvy "David Adamson" wrote in message ... Greetings all, I need to be able to make a series of labels in a user form to display a -ve currency value in Red For non -ve value I have no problem Results.Controls("AProfit" & i) = Format(a - c, "$#,##0") but I can't make it It trurn red with a -ve value Results.Controls("AProfit" & i) = Format(a - c, "$#,##0;-[Red]$#,##0") Any suggestions would be appreciated |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to add new currency Symbol in Format/Cell/Currency | Excel Discussion (Misc queries) | |||
Formatting negative currency - doesn't have brackets | Setting up and Configuration of Excel | |||
negative currency with () and - | Excel Discussion (Misc queries) | |||
Conversion from currency value to currency text format | Excel Programming | |||
Deleting a negative sign from an amount in a list (not trailing negative) | Excel Programming |