从快速访问工具栏访问命令

发布于 2024-10-02 06:55:21 字数 431 浏览 0 评论 0原文

当我使用从模板打开一封新电子邮件的宏时,我还想从快速访问工具栏访问其中一个命令,并确保从此命令的下拉列表中选择特定选项。

例如,工具栏上的选项卡称为“加载项”,在此选项卡中,工具栏上的区域称为“自定义工具栏”。本节中有一个名为“ACT!”的命令。历史记录”,我想从该命令的下拉列表中自动选择“无”。我确实有工具栏的屏幕截图,如果有帮助的话我可以发送给您。

当前的宏是一个非常简单的宏,如下文所示。

Sub MakeItem()
    Set newItem = Application.CreateItemFromTemplate("C:\Users\jfield\AppData\[file location]\New Placement!.oft")
    newItem.Display
    Set newItem = Nothing
End Sub

When I use a macro, that opens a new email from a template, I would also like to access one of the commands from the Quick Access Toolbar and make sure a particular option is selected from the drop-down list on this command.

For example, the tab on the toolbar is called 'Add-Ins' and within this tab the area on the toolbar is called 'custom toolbars'. There is a command in this section entitled 'ACT! History', and I would like to automatically chose 'None' from the drop-down list for this command. I do have a screen grab of the toolbar I can send you if this helps.

The current macro is a very simple one as the text below shows.

Sub MakeItem()
    Set newItem = Application.CreateItemFromTemplate("C:\Users\jfield\AppData\[file location]\New Placement!.oft")
    newItem.Display
    Set newItem = Nothing
End Sub

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文