jsa代码
function Workbook_SheetChange(Sh, rg){
if (Sh.Name != "测试" || rg.Column !=1) {return};
const reg=/(?<=\().*(?=\))/;
if (!reg.test(rg.Value2)) {return};
const res=reg.exec(rg.Value2)
const start=rg.Value2.indexOf(res[0]);
rg.Characters(start+1,res[0].length).Font.ColorIndex=3;
}