Dim xlApp As New Excel.Application引用了Micrsoft Excel 11.0bject Library还是未定义,怎么办

2024-12-16 11:13:27
推荐回答(2个)
回答1:

张志晨:我测试了,
引用了Micrsoft Excel 11.0bject Library之后;
Dim xlApp As New Excel.Application 有效。

回答2:

Set xlapp = CreateObject("Excel.Application")