There is one thing I have noticed about most VBA programming. People fail to realize that whenever you build a VBA program, whatever version of AutoCAD you have installed tends to interfere with the use of the program on other versions of AutoCAD. For example, If you develop a program in AutoCAD 2000, and the user has R14, the user will get a compile error because of a missing type library, or it will return an error stating that the function or sub is not defined.
It might be a good idea whenever we post VBA programs that we include the type llibraries required for the programs proper functioning. This can be found by listing the references in the VBA editor window and highlighting the checked type libraries.
First open the editor and select "References" on the tool menu

Then in the References window, highlight the checked item and you will see the reference to the file in the dialog. Make sure you attempt to uncheck ALL boxes after you have completed the project, this will make sure you are not telling people that they require a file that they do not really require.
