Compile error: "Function or interface marked as restricted or the function uses an Automation type not supported by visual basic"
Function or interface marked as restricted, or the function uses an Automation type not supported in Visual Basic