Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9788

Changing font size based on value

$
0
0

I found this script when searching for a way to employ Harvey Balls in a Google Sheet. The only problem is that a couple of the balls are smaller than the others. A remedy would be to increase the font size of those cells with the balls in question. Any idea how to do this?

function onEdit(e) {  var n = parseInt(e.value, 10);  if (n == e.value && n >= 0 && n <= 4) {    e.range.setValue(['○', '◔', '◑', '◕', '●'][n]);  }}

Script source: Conditionally substitute cell contents with Unicode characters


Viewing all articles
Browse latest Browse all 9788

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>