View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
GS[_2_] GS[_2_] is offline
external usenet poster
 
Posts: 3,514
Default "Duplicate declaration in current scope" during edit and continue

Greg Lovern used his keyboard to write :
Sometimes when I declare a new variable during edit and continue, I
get the error "Duplicate declaration in current scope", except that
there is no other declaration of the affected variable. The only
solution I've found is to stop the debugging session and restart.
Often that's no problem, but it can be annoying if I'm, say, deep into
a couple nested loops.

Is there a better workaround?


Thanks,

Greg


Can you show us the code so we can better help you?

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc