在同一Excel单元格中使用不同的字体?(Use different fonts in same Excel cell?)
有没有办法改变excel单元格中特定文本的颜色和/或字体? 也就是说,我希望单元格显示值的一部分为红色,同一单元格显示值的另一部分为蓝色(作为示例)。 由于显示的值是作为公式计算的,我需要某种格式化公式,它只应用公式中的内容。 我似乎无法在文中找到任何内容。
Is there any way to change the color and/or font of specific text within an excel cell? That is, I'd like one part of the cell's displayed value to be red and another part of the same cell's displayed value to be blue (as an example). Since the displayed values are being calculated as formulas, I'd need some sort of formatting formula that would apply only the stuff inside the formula. I can't seem to find anything in the text.
最满意答案
如果您想根据公式执行此操作,则必须编写一些VBA。 看这个例子
If you want to do this based on a formula, you will have to write some VBA. See this example
更多推荐
发布评论