You may receive a "Member Not Found" error message when you use a For Each statement on an Excel collection in Visual Basic .NET or in Visual C# .NET (328347)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
- Microsoft Office Excel 2003
- Microsoft Excel 2002
This article was previously published under Q328347 SYMPTOMS When you use a Visual Basic .NET For Each..Next statement or a Visual C# .NET foreach statement to iterate an Excel collection, such as a Range or a Windows collection, you receive the following error message:
An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Additional information: Member not found. RESOLUTION To resolve this problem, you can use a Visual Basic For...Next statement or a Visual C# for statement instead. The "More Information" section of this article
provides an example. STATUSMicrosoft is researching this problem and will post more
information in this article when the information becomes
available.
Modification Type: | Minor | Last Reviewed: | 8/27/2004 |
---|
Keywords: | kbPIA kbAutomation kbprb KB328347 kbAudDeveloper |
---|
|