在ACTIVE.CELL.FONT中,FALSE和数字是什么意思?

时间:2017-09-21 08:45:26

标签: excel vba excel-vba

我记录了VBA,用于将单元格中的“bc”更改为Excel for macOS 15.39的红色。

enter image description here

Range("A1").Select
ActiveCell.FormulaR1C1 = "abc"
ExecuteExcel4Macro _
    "ACTIVE.CELL.FONT(""Calibri (Body)"",""Regular"",12,FALSE,FALSE,FALSE,FALSE,FALSE,1,1,,,1,1,,4,2,0,2)"
ExecuteExcel4Macro _
    "ACTIVE.CELL.FONT(""Calibri (Body)"",""Regular"",12,FALSE,FALSE,FALSE,FALSE,FALSE,1,3,,,2,2,,3,-16776961,0,0)"

我试着找出ACTIVE.CELL.FONT(""Calibri (Body)"",""Regular"",12,FALSE,FALSE,FALSE,FALSE,FALSE,1,3,,,2,2,,3,-16776961,0,0)中那些FALSE和数字的含义。

我知道前三个是关于字体的,但我不知道其余部分。

我没有找到任何关于它的文件。有人可以解释或给我链接到文件?感谢

1 个答案:

答案 0 :(得分:1)

语法为:

ACTIVE.CELL.FONT(font, font_style, size, strikethrough, superscript, subscript, outline, shadow, underline, color, normal, background, start_char, char_count)

你应该从MS站点获取包含XLM功能帮助文件的macrofun.exe文件:http://www.microsoft.com/en-us/download/details.aspx?id=1465

相关问题