Function marked as restricted or uses a type not supported in Visual Basic

Not every procedure that appears in a type library or object library can be accessed by every programming language. The creator of a type or object library can designate some functions as restricted to prevent their use by macro languages. This error has the following causes and solutions:

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).