ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   skip code (https://www.excelbanter.com/excel-programming/292605-skip-code.html)

monika

skip code
 
Hi


how can I skip a portion of code and jump to the some other
part of code
while debugging. I use "stop" to debug and particular part
of code but to
come to that point I have to execute a whole lot of coding!

Thanks
Monika


abxy[_36_]

skip code
 
this probably isn't the right answer to the help you're asking for, ..
but possibly you could use the GoTo statement,

Put GoTo Line1 after the last line of cod
that you want executed before the skip.

then the line directly preceding the code you want to continue at i
Col 1 put Line1:

This is will make make the code jump to Line1 (or whatever number yo
so choose to call it) and finish executing itsel

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 09:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com