Compile error (461): Member or data member not found.

Asked By 0 points N/A Posted on -


I tried that but no benefit. It shows a Compile error (461): Member or data member not found. So, the form holding the OCX will not open. No, I think the code is in line.

There must be unusual running interference. But I am not able to figure out this. (In which case it is probably something obvious but my old eyes are just not seeing it).

I've tested the registry and the whole thing seems to be correctly registered and in sequence. The .dll file, MDIVWCTL.DLL is in the right directory etc. But there must be another program that is stopping the ActiveX control, miDocVew from starting.

I appreciate your attention. Please help me to solve this. Thanks in advance.

Answered By 5 points N/A #104830

Compile error (461): Member or data member not found.



Hello Tammy,
This is very common problem regarding Visual Basic. I’ll give an idea of what might be mistaken or something went wrong but this information is only specifically applicable to the Visual Basic for Applications (VBA) Language Reference for Office 2010. This might be the solution to your problem.
The collection, object, or user-defined type doesn't contain the referenced member. This error has the following causes and solutions:
You have misspelled the object or member name. You check the spelling of the names and then check the Type statement or the object documentation to determine what the members are and the proper spelling of the object or member names; or
You specified a collection index that is out of range. Check the Count property to determine whether a collection member really exists. Just take note that collection indexes begin at 1 rather than zero, so the Count property returns the highest possible index number.
There are some additional information regarding Macintosh but I cannot give you information because I am not totally familiar with its settings. I hope this information is of good help.

Related Questions