After installing the office2019 version, vb can not refer to Microsoft excel object library and Microsoft word object library solution

Click on Browse in the references, find office16 installation directory.

Reference installation directory: C: \ Program Files \ Microsoft Office \ root \ Office16

May be introduced as follows Microsoft excel object library

 

 May be introduced as follows Microsoft word object library

 

Reference links:

https://blog.csdn.net/ZHY_8643/article/details/86887190

Guess you like

Origin www.cnblogs.com/feng-hao/p/12099911.html