在outlook中创建模块 [英] Create module in outlook

查看:77
本文介绍了在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


  1. 启动Visual Studio 。
  2. 文件 菜单上,指向新建,然后点击项目
  3. 在模板窗格中,展开  Visual C#  Visual  Basic ,然后展开 Office / SharePoint
  4. 在前面panded  Office / SharePoint  节点,选择  Office加载项 节点。
  5. 在项目模板列表中,选择一个Outlook  VSTO加载项项目。
  6. 名称框中,键入  FirstOutlookAddIn
  7. 点击  确定
  1. Start Visual Studio.
  2. On the File menu, point to New, and then click Project.
  3. In the templates pane, expand Visual C# or Visual Basic, and then expand Office/SharePoint.
  4. Under the expanded Office/SharePoint node, select the Office Add-ins node.
  5. In the list of project templates, choose an Outlook VSTO Add-in project.
  6. In the Name box, type FirstOutlookAddIn.
  7. Click OK.



Visual Studio创建  FirstOutlookAddIn  项目
,并在编辑器中打开  ThisAddIn  代码文件。

Visual Studio creates the FirstOutlookAddIn project and opens the ThisAddIn code file in the editor.

祝你好运,

Fletch


这篇关于在outlook中创建模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆