在一系列单元格中添加一个sytle [英] Adding a sytle to a range of cells
问题描述
是否可以为一系列单元格添加样式?我需要为一系列单元格应用不同的背景颜色。目前,我在每个列标题下创建了一个单元格映射,我循环遍历这些单元格以获取指定的列标题,并将新样式应用于每个单元格
。这种方法很有效,直到有50000多行,然后将一个背景颜色应用于指定列标题下的所有单元格几乎需要3分钟。
Is it possible to add a style to a range of cells? I need to apply a different background color for a range of cells. Currently, I create a map of cells under each of the column headers and I loop through these cells for a specified column heading and apply the new style to each cell. This works great until there is something like 50000+ rows and then it takes almost 3 minutes to apply a single background color to all the cells under a specified column header.
推荐答案
嗨Domon,
Hi Domon,
我会就这个问题咨询我的同事,这需要一些时间。我们将非常感谢您的耐心。
I will consult my colleagues on this question and it will take some time. Your patience will be greatly appreciated.
问候,
Jeffrey
Regards,
Jeffrey
这篇关于在一系列单元格中添加一个sytle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!