Hmm - what level of detail?
Short one, relating to Excel.
When one needs to access objects, methods, properties and functions of Excel, there's basically two methods of such. Early and Late binding.
Early binding:
Setting a reference, like this makes the application "aware" of the existence of Excel, and you can dimension, instantiate and use all of the objects, methods and properties available to Excel in the application. This means for instance that the intellisence dropdown gives you (most of) the relevant properties and methods available when programming.
Late binding:
Then you'd declare your objcets as object
[tt]dim oxl as object[/tt]
Then use for instance the createobject (and/or getobject) method to instantiate Excel:
[tt]set oxl=createobject("Excel.Application")[/tt]
In this scenario, the application is not "aware" of Excel until the createobject line is excecuted, so for instance the intellisence dropdown will not give you any hints when programming.
So basically, setting a reference to an object library, makes the objects, methods and properties of that library available to you, both when programming and at runtime.
Roy-Vidar