1) What is a Type Library and why would you use one ?
A type library is a file that contains a detailed description of an external component.
It contains information about all the objects, methods, properties and constants.
It must be referenced if you want to have Early Binding to the exposed object.
2) How would you add a Type Library to your project ?
You can add a type library using the (Tools > References) dialog box.
References to other application object models or type libraries can be added to allow their objects to be accessible from VBA.
3) How would you implement a Feature Switch in VBA ?
You would you Compilation Constants.
#If VBA7 Then
© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext