1、如图所示,在表格中标注出“高层”!

3、会进入VBA编辑界面!点击菜单栏【插入】,在其下拉菜单中,选择【模块】!

5、在代码编辑窗口输入以下代码:Sub 零宽断言1()Set regx = CreateObject("稆糨孝汶;vbscript.regexp")With regx .Global = True .Pattern = ":(?=副?总)" For Each Rng In [a14:a21] Cells(Rng.Row, 2) = .Replace(Rng, ":(高层)") NextEnd WithEnd Sub

7、点击【标注高层】按钮,高层人员立刻被标注出来!!
