如何在 Excel 工作表上放置按钮或文本框?

发布于 2024-08-15 11:13:16 字数 37 浏览 2 评论 0原文

有谁知道如何使用 vba 或手动在工作表上放置按钮或文本框?

does anyone know how to place buttons or textboxes on worksheet with vba or manually?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

以可爱出名 2024-08-22 11:13:16

了解您正在使用的 Excel 版本总是有帮助的。

在 Excel 2003 中,右键单击任何工具栏并启用“表单”工具栏。从那里选择按钮。这种类型的按钮可以分配给宏,这样当有人单击它时,宏就会被执行。

在 Excel 2007 中,转到 Excel 菜单并选择 Excel 选项。选择“流行”,然后选中“显示开发人员功能区”选项。在开发人员功能区上,选择插入...下拉菜单,您将能够执行与上述基本相同的一系列步骤。

哈特哈,

It always helps to know which version of Excel you're working in.

In Excel 2003, right-click any toolbar and enable the Forms toolbar. Select the Button from there. This type of button can be assigned to a macro so that when someone clicks it, the macro is executed.

In Excel 2007, go to the Excel menu and select Excel Options. Select Popular and then check the Show Developer Ribbon option. On the Developer ribbon, select the Insert... pulldown and you'll be able to do basically the same series of steps as above.

HTH,
Neb

旧时浪漫 2024-08-22 11:13:16

在 Excel 2013 中,将“插入控件”添加到快速访问工具栏。

从插入控件中选择下拉箭头,然后选择要添加到工作表中的控件(双击该控件以向其添加代码)。

In Excel 2013 add the "Insert controls" to the quick access toolbar.

select the drop-down arrow from the insert controls, then choose the control you wish to add to the worksheet (double click on that control to add code to it).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文