Topic
Font colour in cell table
Startseite ' Community ' Automation and VBA ' Font colour in cell table
- Dieses Thema hat 21 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 11 Jahren, 7 Monaten von HerveM1234 aktualisiert.
-
AutorBeiträge
-
22.10.2013 um 14:03 Uhr #35140HerveM1234Teilnehmer
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.22.10.2013 um 14:03 Uhr #35161HerveM1234TeilnehmerHi,
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.24.10.2013 um 08:50 Uhr #35141Bernhard 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:
[code]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[/code]25.10.2013 um 11:23 Uhr #35152HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35142HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35156HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35155HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35154HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35153HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35143HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35151HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35150HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35149HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35148HerveM1234TeilnehmerHi,
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
25.10.2013 um 11:23 Uhr #35147HerveM1234TeilnehmerHi,
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.