vba: referencing type libraries with code

Not library referencing from the visual basic editor menu. I mean is there code that I can write, for any office application, that allows me to reference a particular type library--like the Imports keyword in vb.net. I know this is possible for Access, but I'm working with excel now. Or perhaps there is a way of automating the referencing done in the visual basic editor? Thanks.

[390 byte] By [dwee] at [2007-12-17]