ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Range.GetEnumerator() from .Net (https://www.excelbanter.com/excel-programming/308622-range-getenumerator-net.html)

Arnon Axelrod

Range.GetEnumerator() from .Net
 
Hi all,

I have an Excel workbook that calls some functions in a .Net code-behind
library I wrote.
My problem is that when I try to loop over a Range object, using "foreach",
or even directly calling GetEnumerator(), I get a run-time error "member not
found" error from System.Runtime.InterropServices.

Any ideas?

TIA,
Arnon.




All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com