AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
1,835
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I want to add "Microsoft Excel XX.X Object Library" to Excel. I have office 2003 so pretty sure XX.X is 11.0.

But no such reference appears in the reference list. Googling for help gives this

In VS, right click the references > Add Reference... > COM tab
Then select "Excel 11.0 Object Library" to add its PIA into your project,

Sounds like good instructions, but I have no idea was "VS" is, a right click on 'References' seems to do nothing
and I can't see any COM tab.Can anyone help me out with further instructions ? Thanks !
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
VS stands for Visual Studio. The Object Library is probably already available.

In the Excel Visual Basic Editor, on the menu, click Tools >> References...
 
Upvote 0
In the Excel Visual Basic Editor, on the menu, click Tools >> References...

I have done that, but I see nothing that matches "Microsoft Excel....". I presume that is what it should be listed under ?
 
Upvote 0
Deleted, talking nonsense
 
Last edited:
Upvote 0
In Excel 2016 U.S. stand-alone the 'Microsoft Excel 16.0 Object Library' is part of the file EXCEL.exe. And yes, Excel 2003 was version 11.xx.x.

What is the reason you need to add the library? Is it for language support? Are you running into problems with your code that could be caused by a missing library?

I did run across a tutorial for automating embedded charts that instructs the reader to add the Excel object library. Those instructions were pointed at users of Visual Studio .Net: https://msdn.microsoft.com/en-us/li...c_xl_manipulatecharts_usingautomationtocreate
 
Upvote 0
Thanks for replying... no, after a bit of research I find I misunderstood instructions. Sorry!
 
Upvote 0

Forum statistics

Threads
1,215,650
Messages
6,126,012
Members
449,280
Latest member
Miahr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top