在 Excel 中创建按钮来复制文件?
我想在 Excel 2010 中创建一个按钮,单击该按钮时,它将保存当前打开的 Excel 文件并将其复制到 C:\temp。
这可能吗?也许宏应该触发 exe 程序,或者可以在宏内完成所有操作?
I want to create a button in Excel 2010 that when clicked, it will save the currently opened Excel file and copy it to C:\temp.
Is this possible? Perhaps a macro should trigger an exe program, or can be all done within the macro?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在按钮的
Click
事件中,您可以将当前工作表复制到另一个工作簿中,然后将其保存在 C:\Temp... 类似:In your button's
Click
event, you can copy the current worksheets into another workbook and then save that in C:\Temp... Something like: