Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 4
    Looks like IDataStatistics.UniqueValues returns a System.Collections.IEnumerator. Commented May 20, 2011 at 16:15
  • @Kirk Kuykendall, well I changed "Dim pEnumVar As IEnumVariantSimple, value As Object" to "Dim pEnumVar As System.Collections.IEnumerator, value As Object" and "value = pEnumVar.Next" to "value = pEnumVar.MoveNext". I now get a Error a bit further past the original code that I posted. I will re-post a update (called "Update1") of where the new error is. thx! Commented May 20, 2011 at 16:41
  • 1
    Check to see if pRowLyrs is Nothing, and handle accordingly. Commented Jun 15, 2011 at 18:35
  • Did you ever find a solution to this. Very little feedback in this on the web. Commented Apr 2, 2016 at 17:30
  • If this issue persists, then I think it should be overhauled based on any learnings that have come out of the comments so far. It is not clear whether any attention has been paid to the only answer offered so far. Commented Apr 4, 2016 at 7:03