Create a button that will switch the font color of the text of the cell between black and white, adjacent to the currently pointing cell

ⅰ亾dé卋堺 提交于 2019-12-11 12:55:28

问题


I am creating a google spreadsheet having two columns. Question and Answers. Let's consider there are 100 pairs of cells of questions and answers. All the questions have font color as black and answers have font color as white. If the current cell is pointing to one question then I want to create a button which upon clicking will change the font color to black and so the answer will be visible for its adjacent cell.

Is there any way to do this?


回答1:


you can do this without heavy scripting with just conditional formatting and simple checkboxes:



来源:https://stackoverflow.com/questions/56384615/create-a-button-that-will-switch-the-font-color-of-the-text-of-the-cell-between

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!