I've wrote code to add 4 files into ArcMap. The first 3 add featureclasses and work perfect, but this layer will not add due to a Automation Error, Invalid Pointer, which pops up when I run the code. The debug takes me to the line with the comment depicting the error. I do not know how to fix...
To better clarify my goal, I am looking at land parcels that need to be surveyed. I also have a feature class of land parcels that already have been surveyed. The form I created allows the user to fill in the surveyed information. I want the user to click on the to-be surveyed land parcels...
I'm trying to create a new feature in a feature class, then load it's field data from a form I created. The created feature is a land parcel. Not sure how to fix my "Object Required" error.
Public Sub UserForm_Initialize()
Dim pMxDoc As IMxDocument
Set pMxDoc = ThisDocument...