标签: vba outlook startup
我想在Outlook启动后立即运行VBA功能。这是可能的,如果是这样,我需要做什么?我在Google上的搜索失败了。
我不介意会弹出安全警告。
答案 0 :(得分:21)
使用Application_Startup中的ThisOutlookSession事件:
Application_Startup
ThisOutlookSession
Private Sub Application_Startup() MsgBox "Foo" End Sub
答案 1 :(得分:2)
你看过Application_Startup()事件吗?