-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Font colour in cell table
Home > Community > Automation and VBA > Font colour in cell table
- This topic has 21 replies, 2 voices, and was last updated 11 years ago by HerveM1234.
-
AuthorPosts
-
October 22, 2013 at 2:03 pm #12833HerveM1234Participant
Hi,
Is it possible to modify the font colour in a cell table depending of the value to display ?
For example, values calculated above 100 in red and below 100 in green.
Thanks for your help.October 22, 2013 at 2:03 pm #8492HerveM1234ParticipantHi,
Is it possible to modify the font colour in a cell table depending of the value to display ?
For example, values calculated above 100 in red and below 100 in green.
Thanks for your help.October 24, 2013 at 8:50 am #9309Bernhard KantzParticipantThe only way to modify the font color of a cell table is to use VBA (in FlexPro Professional). You can check if the value is out of limit and then change the color. Here is an example how to change the font properties of cell nr 3:
Dim myTable As CellTable Set myTable = ActiveDatabase.ActiveFolder.Object("CellTable", fpObjectTypeCellTable) Dim myCell As CellTableCell Set myCell = myTable.Cells(3) With myCell.Text.Font .Italic = False .Name = "Arial" .Size = 12 .Color = &H8000000F End With
October 25, 2013 at 11:23 am #9310HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9311HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9312HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9313HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9314HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9315HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9316HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9317HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9318HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9319HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9320HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
October 25, 2013 at 11:23 am #9321HerveM1234ParticipantHi,
Thanks for your reply.
The font setting works very wellThe problem I have is the value : myCell.Text gives something like :%{myfpscript_expression}
How in VBA can I compare this “value” to an integer or an string for example ?Thanks again
-
AuthorPosts
- You must be logged in to reply to this topic.