-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Font colour in cell table
Home > Community > Automation and VBA > Font colour in cell table
- Dieses Thema hat 21 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 11 Jahren von HerveM1234 aktualisiert.
-
AutorBeiträge
-
Oktober 22, 2013 um 2:03 pm Uhr #12833HerveM1234Teilnehmer
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.Oktober 22, 2013 um 2:03 pm Uhr #8492HerveM1234TeilnehmerHi,
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.Oktober 24, 2013 um 8:50 am Uhr #9309Bernhard KantzTeilnehmerThe 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
Oktober 25, 2013 um 11:23 am Uhr #9310HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9311HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9312HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9313HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9314HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9315HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9316HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9317HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9318HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9319HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9320HerveM1234TeilnehmerHi,
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
Oktober 25, 2013 um 11:23 am Uhr #9321HerveM1234TeilnehmerHi,
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
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.