你可以写代码运行reg文件嘛
shell("regedit """ & ApplicationPath & "Office.reg""", 1)
'shell("regedit /s """ & ApplicationPath & "Office.reg""", 0)