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.
我是 vba 的新手,我想问一下如何通过宏在 Catia 中打开特定的 excel 文件(xxx.xls)。提前谢谢你的帮助。干杯
使用 catia 文件系统对象,如下所示
Dim FileSys Set FileSys = CATIA.FileSystem Dim xlApp Set xlApp = CreateObject("Excel.Application") Dim mydoc Set mydoc = xlApp.workbooks.open("Add the file path here")