lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I want to use Repeat() to type "*". My question can I color these "*" to different color depends on the reading? Thank you.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]day[/TD]
[TD]tmp[/TD]
[TD]=repeat("*",A2)[/TD]
[/TR]
[TR]
[TD]mon[/TD]
[TD]15[/TD]
[TD]************************[/TD]
[/TR]
[TR]
[TD]tus[/TD]
[TD]10[/TD]
[TD]******************[/TD]
[/TR]
[TR]
[TD]wed[/TD]
[TD]4[/TD]
[TD]****[/TD]
[/TR]
</tbody>[/TABLE]
I want to use Repeat() to type "*". My question can I color these "*" to different color depends on the reading? Thank you.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]day[/TD]
[TD]tmp[/TD]
[TD]=repeat("*",A2)[/TD]
[/TR]
[TR]
[TD]mon[/TD]
[TD]15[/TD]
[TD]************************[/TD]
[/TR]
[TR]
[TD]tus[/TD]
[TD]10[/TD]
[TD]******************[/TD]
[/TR]
[TR]
[TD]wed[/TD]
[TD]4[/TD]
[TD]****[/TD]
[/TR]
</tbody>[/TABLE]