Hello! I'm getting -2145386390 (8020006a) runtime error in VBA Autocad 2007, in Windows 7
At this for each sentence:
Code:
Dim e As AcadEntity
For Each e In ThisDrawing.ModelSpace <-- error
(...)
Next
ThisDrawing.ModelSpace appears with the value "<>", but the drawing is not empty!
This same program worked properly months ago... the only change I've made is installing Autocad 2010 in the same computer, so I've both installed now: 2007 and 2010. Maybe Autocad 2010 changed somenthing and now VBA 2007 doesn't work...
Any idea?
Thanks!
Jose
From Spain