There are set of built in libraries available in excel, few of them are default to your code and rest are optional to be added. These libraries contain various built in methods, objects and properties for these methods and objects. These libraries act same as namespaces in .Net, packages in Java
Below are the steps for adding reference libraries to y
our Excel workbook
- Open Excel workbook and press Alt + F11 to get Visual Basic Editor (VBE)
- Go to the Tools menu and select References from the drop down menu.
- “References- VBAProject” dialog will appear.