跳到主要内容

如何通过Outlook从Excel发送当前工作簿?

也许您总是在Excel工作簿中制作和修改报告,完成后,您需要尽快将当前保存的报告发送给部门经理。 您如何在不从Excel打开Outlook的情况下快速将当前的整个工作簿发送给特定的人?

使用“保存并发送”命令从Excel通过Outlook发送当前工作簿

使用VBA代码通过Outlook从Excel发送当前工作簿作为附件


箭头蓝色右气泡 使用“保存并发送”命令从Excel通过Outlook发送当前工作簿

有了这个 保存并发送 在Excel中,您可以通过Outlook快速将整个工作簿作为附件,PDF文件,XPS文件或Internet传真发送。 您可以这样做:

1。 打开您要发送的工作簿。

2。 点击 文件 > 保存并发送 > 使用电子邮件发送 在Excel 2010中,请参见屏幕截图:

文档发送工作簿1

Tips:如果您使用的是Excel 2007,请单击 办公按钮 > 提交,请参见屏幕截图:

文档发送工作簿4

在Excel 2013中,请点击 文件 > Share > 电邮,请参见屏幕截图:

文档发送工作簿5

3。 然后从中选择一种要发送Excel的格式 使用电子邮件发送 部分,在这种情况下,我单击 作为附件发送 图标按钮,请参见屏幕截图:

文档发送工作簿2

4。 然后会出现一个Outlook编辑窗口,在Cc 文本框,然后在 联系原因 框,您也可以在“简介”框中输入一些消息,请参见屏幕截图:

文档发送工作簿3

笔记:

1.仅当您将Outlook用作邮件程序时,此方法才有效。

2.发送工作簿后,您可以转到Outlook检查电子邮件是否已成功发送。


箭头蓝色右气泡 使用VBA代码通过Outlook从Excel发送当前工作簿作为附件

在这里,您还可以使用以下VBA代码将当前工作簿作为附件从Excel发送出去,请执行以下步骤:

1. 打开您要发送的工作簿。

2。 按住 ALT + F11 键,然后打开 Microsoft Visual Basic for Applications窗口.

3。 点击 插页 > 模块,然后将以下代码粘贴到 模块窗口.

VBA代码:从Excel发送当前工作簿作为附件

Sub SendWorkBook()
'Update 20131209
Dim OutlookApp As Object
Dim OutlookMail As Object
Set OutlookApp = CreateObject("Outlook.Application")
Set OutlookMail = OutlookApp.CreateItem(0)
On Error Resume Next
With OutlookMail
    .To = ""
    .CC = ""
    .BCC = ""
    .Subject = "kte feature"
    .Body = "Hello, please check and read this document, thank you."
    .Attachments.Add Application.ActiveWorkbook.FullName
    .Send
End With
Set OutlookMail = Nothing
Set OutlookApp = Nothing
End Sub

备注:在上面的代码中,您可以根据自己的需要更改以下信息。

  • .to = ""
  • .CC =“”
  • .BCC =“”
  • .Subject =“ KTE功能”
  • .Body =“您好,请阅读并阅读本文档,谢谢。”

4。 然后点击 F5 键运行此代码,然后会弹出一个提示框,单击 ,并且该工作簿已发送出去。

文档发送工作簿6

笔记:

1.仅当使用Outlook作为邮件程序时,此代码才可用。

2.发送工作簿后,您可以转到Outlook以确保已成功发送电子邮件。


相关文章:

如何仅通过Excel从Outlook发送工作表?

如何通过Excel从Outlook发送/通过电子邮件发送单元格范围?

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I went to the workshop and enjoyed it. I would like a workbook
This comment was minimized by the moderator on the site
I went to the workshop and enjoy it. I would like to get a workbook. Thanks
This comment was minimized by the moderator on the site
Hi,I tried to save the file with VB code but when I share over outlook or some other way the VB code is getting dropped.Kindly could you help me out so that with that excel file that VB code will be available all the time.
Thank you in advance.
This comment was minimized by the moderator on the site
Thanks for sharing, very useful and is there any option to refer the cell in the same file to pick mail ids
This comment was minimized by the moderator on the site
this is attaching the file but the file does not show any changes that were made. it is attaching the last saved version
This comment was minimized by the moderator on the site
Active workbook. Save at beginning of code should sort
This comment was minimized by the moderator on the site
Thanks for sharing Information but i want in workbook a particular One sheet Only as a new sheet
This comment was minimized by the moderator on the site
Is there any way for the formula to copy certain cells and add that info to the body of the email?
This comment was minimized by the moderator on the site
Did I miss the part in method 2 that tells you how to reuse the module? There's no button or other method to recall it upon next use?
This comment was minimized by the moderator on the site
Does it actually save the file?
This comment was minimized by the moderator on the site
Is there a way to configure it to send to a gmail account?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations