在outlook中创建模块 [英] Create module in outlook
问题描述
hi。
可以在Outlook中创建模块并使用visual studio编写代码吗?
It is possible to create a module in Outlook and write code using visual studio?
情况是我在Outlook中开发了一个宏,它完美地解决了这个问题,每个需要将宏放在另一台计算机的另一个外观中你必须按模块和副本创建模块每个模块中的代码都是
有一些方法可以在视觉工作室中添加吗?
The situation is that I have developed a macro in outlook and it works perfectly the problem here is that every that needs to put the macro in another outlook of another computer You have to create module by module and copy the code in each module is There some way to do it with an add in visual studio?
laureano Adriano
laureano Adriano
推荐答案
嗨Laureano,
是的。
在Visual Studio中创建新的Outlook项目
To create a new Outlook project in Visual Studio
- 启动Visual Studio 。
- 在文件 菜单上,指向新建,然后点击项目。
- 在模板窗格中,展开 Visual C# Visual Basic ,然后展开 Office / SharePoint 。
- 在前面panded Office / SharePoint 节点,选择 Office加载项 节点。
- 在项目模板列表中,选择一个Outlook VSTO加载项项目。
- 在名称框中,键入 FirstOutlookAddIn 。
- 点击 确定。
- Start Visual Studio.
- On the File menu, point to New, and then click Project.
- In the templates pane, expand Visual C# or Visual Basic, and then expand Office/SharePoint.
- Under the expanded Office/SharePoint node, select the Office Add-ins node.
- In the list of project templates, choose an Outlook VSTO Add-in project.
- In the Name box, type FirstOutlookAddIn.
- Click OK.
Visual Studio创建 FirstOutlookAddIn 项目 Visual Studio creates the FirstOutlookAddIn project
and opens the ThisAddIn code file in the editor. 祝你好运, Fletch 这篇关于在outlook中创建模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
,并在编辑器中打开 ThisAddIn 代码文件。