如何在 excel 中 运行 宏而不考虑保存的文件扩展名

How to run macros in excel irrespective of the file extension it is saved

我想知道,如果带有 macro/vba 代码的 excel 文件以任何格式(.xls、.xlsx ..等)保存,宏仍然可以 运行 ?

或者有没有办法 运行 宏而不考虑文件扩展名格式。

另存为 .xlsx 的工作簿不能包含VBA项目。