Everything for the watch set up exactly as you describe and the watch
window shows exactly what you said below.
But it does not break.  Program runs to the end though maxrow only shows
111 even though it goes beyond that.
I will figure it out.

Range.show works great though as you say way faster than I can read.  For
using for testing I will slow it down.

Thanks yet again.

On Mon, Apr 16, 2012 at 10:53 PM, Asa Rossoff <a...@lovetour.info> wrote:

>  Hi Howard,****
>
> The watch should be setup like this, in the Add Watch window:****
>
> Expression:        *maxrow = 111*****
>
> Context -****
>
> Procedure:          *(procedure with maxrow in scope)*****
>
> Module:              *(module with above procedure)*****
>
> Watch Type:     *Break When Value Is True*
>
> ** **
>
> If you look in the watch window after creating the above watch, and code
> is not currently executing, you will see:****
>
> *Expression*
>
> *Value*
>
> *Type*
>
> *Context*
>
> maxrow = 111****
>
> <Out of context>****
>
> Empty****
>
> Modulename.Procedurename****
>
> ** **
>
> It just reflects the settings you used when setting up the watch.****
>
> While code is running, if you are in break mode, you'll see the value of
> the expression *maxrow = 111* (which will be True or False) in the Value
> column of the Watch Window as long as the listed context is in the current
> call stack (currently executing procedures).  Code execution should stop as
> soon as the expression evaluates to True.****
>
> ** **
>
> > Also while the program is running it is filliing in several****
>
> > columns of a sheet.  Is there a way to have the sheet scroll****
>
> > while filling so the filling rows are visible?****
>
> ** **
>
> Yes, but you should realize it will slow things down considerably.  If it
> is a lot of cells getting filled in, it will take much longer, yet you will
> probably still end up scrolling faster than they can read.****
>
> Some methods of scrolling:****
>
> **·        **RANGE.Show - scrolls so cell represented by RANGE is in
> center of window pane; doesn't activate it.  Fails if RANGE is not in
> active document.****
>
> **·        **RANGE.Select - in the case of a single cell, scrolls to
> center of window pane; activates cell (slower)****
>
> **·        **WINDOW.ScrollRow, .ScrollColumn (also PANE.ScrollRow,
> .ScrollColumn) - scroll so selected row or column is at upper-left of
> WINDOW or PANE.****
>
> ** **
>
> Asa****
>
> ** **
>
> *From:* excel-macros@googlegroups.com [mailto:
> excel-macros@googlegroups.com] *On Behalf Of *tangledweb
> *Sent:* Monday, April 16, 2012 5:47 PM
> *To:* excel-macros@googlegroups.com
> *Subject:* $$Excel-Macros$$ watch does not break and can filling
> spreadsheet be made to scroll?****
>
> ** **
>
> I set a watch with maxrow=111 and set to break if true.    Program runs
> and in the watch window shows maxrow=111    though also some odd message
> about out of context but it does not break.  Program runs to the end.
> Thoughts?****
>
>  ****
>
>  ****
>
> Also while the program is running it is filliing in several columns of a
> sheet.  Is there a way to have the sheet scroll while filling so the
> filling rows are visible?****
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com****
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to