Migrating VBA Code to ArcGIS 10

Discussion created by davisphyllis on Nov 8, 2011
Latest reply on Nov 11, 2011 by davisphyllis
Have a quick question...I'm migrating code that I wrote in ArcGIS 9.3 to be compatible with ArcGIS 10. I have everything working in Visual Studio 2008, except for one line of code....any suggestion on how to fix this error?

I'm trying to start an editing session if one is not already started. The error is "Name esriStateEditing is not declared"

If pEditor.EditState <> esriStateEditing Then
End If

How do I declare this code?

Any help is greatly appreciated. Thanks!

Thanks! Any help would be greatly appreciated.