在草稿电子邮件显示中隐藏密件抄送字段 [英] Hide bcc field in draft email display

查看:74
本文介绍了在草稿电子邮件显示中隐藏密件抄送字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在 Outlook 2010 中起草的电子邮件中隐藏密件抄送字段.

I'm trying to hide the Bcc field in an email being drafted in Outlook 2010.

我正在使用代码将电子邮件地址添加到显示该字段的密件抄送.我想要屏幕上的不动产.

I'm using code to add an email address to Bcc which shows the field. I want the real-estate on the screen back.

这是我目前所拥有的(在 ThisOutlookSession 中):

Here's what I have so far (in ThisOutlookSession):

Sub add_bcc_to_cur_email()
    Dim cur_msg As MailItem
    Set cur_msg = ActiveInspector.CurrentItem
    cur_msg.BCC = "first.last@domain.com" 'this works correctly
    cur_msg.GetInspector.CommandBars.ExecuteMso "Bcc" 'this does nothing
End Sub

我在想有一种方法可以直接控制密件抄送字段的可见性.我找到了 this -- 第二个帖子似乎有一个解决方案,但那是 2003 年的.

I was thinking there was a way to control the visibility of the Bcc field directly. I found this -- The second post seemed to have a solution, but that was for 2003.

我想我可以尝试在功能区中启动密件抄送项目:选项 >显示字段 >密送.
我用谷歌搜索并想出了 这个.该线程似乎没有定论.

I thought I could try to launch the Bcc item in the Ribbon: Options > Show Fields > Bcc.
I googled and came up with this. The thread seemed to be inconclusive.

推荐答案

这在 2010 年对我有用

This worked for me in 2010

cur_msg.GetInspector.Commandbars("Menu Bar").Controls("View").controls("Bcc Field").execute

这篇关于在草稿电子邮件显示中隐藏密件抄送字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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