Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 224
Default "Duplicate declaration in current scope" during edit and continue

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate declaration in scope Hebs Excel Programming 2 January 10th 12 07:48 PM
combining macros - compile error: duplicate declaration in current scope J.W. Aldridge Excel Programming 1 December 9th 06 03:50 PM
Change default in input box from "20" to "000000"? Have macro continue on to name sheet tab? StargateFanFromWork[_4_] Excel Programming 7 October 29th 06 11:46 AM
Automatically click "Update Links" & "Continue" paulharvey[_13_] Excel Programming 0 June 3rd 06 05:35 PM
Countif declaration problem with ""word"" mpot4[_2_] Excel Programming 2 October 11th 05 03:27 AM


All times are GMT +1. The time now is 03:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"