Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有嵌入式 Excel 工作簿的 PowerPoint 演示文稿,名称: ThisWorkbook 我需要导出ThisWorkbook到 Excel 文件中。
ThisWorkbook
谢谢
您确定工作表名为“ThisWorkbook”吗? ThisWorkbook是用于引用代码模块所在的工作簿的引用。在插入工作表时,它将被命名为“Presentation1 中的工作表”或类似名称。
要保存文件,您可以在 Excel 代码模块中使用以下内容(当工作表处于活动状态时,Alt+F11)
ThisWorkbook.SaveAs Filename:="mypath\myfilename.xls"