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,2007 创建一个宏。从 csv 文件中获取数据到 excel 文件。请与我分享代码以运行此宏。请回复:)
我真的没有看到问题。这不适合你吗?
Sub Macro1() ChDir "C:\Users\foo\documents" Workbooks.Open Filename:="C:\Users\foo\documents\test.csv" End Sub