Hi liubin,
感谢您的反馈。
我检查了下,我安装的office是64位的,然后我去用oledb去访问excel时不需要去改Any CPU.
所以我建议你看下是否可以安装office 64位的。
Best Regards,
Jack
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.