How to reference Microsoft Excel 16.0 Object Library in vb6.0?

What is Microsoft Excel 16.0 Object Library?

Import tabular data in the application into the "Tools" of Excel


Why is it "reference" instead of "part" when adding?  

                                                      the difference
Quote part
No control icon You can see the control icon in the toolbar
Reference to functions in library files, invisible Call the control, you can see it on the form
Direct edit Drag the control to the form, and edit the properties and methods

How to cite the Microsoft Excel 16.0 Object Library?

        Note: Before quoting, make sure that Office has been installed on your local machine

 

  • The first step: [Project]—>[Quote]

                                              

 

  • Step 2: Select [ executable file (*.exe;*.dll)] in the file type

                                      

 

  • Step 3: Find the [ EXECEL.EXE file] installed in this machine, and click [Open]. My path is:

C:\Program Files (x86)\Microsoft Office\root\Office16\EXECEL.EXE

Many friends may not find this step for a long time, but you can find it with patience

                                    

 

At this time, we can see the control of Microsoft Excel 16.0 Object Library! Click OK, you can use it slightly

                                     

 

 

Guess you like

Origin blog.csdn.net/weixin_43319713/article/details/105833074