LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Syntax to stop code in Watch Window

Debug.Assert will break into the running code when it's expression is
evaluated to FALSE. For example:

Debug.Assert Range("A2").Value < 4

This line will stop the code when A2 = 4 because the expression A2<4
= FALSE

Regards,
Dave

 
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
Stop window saying code execution interrupted at startup? Jerry07 Excel Discussion (Misc queries) 1 August 15th 09 05:16 PM
Watch Window Guilherme Excel Worksheet Functions 0 April 20th 09 02:12 PM
Watch Window Guilherme Excel Discussion (Misc queries) 0 April 20th 09 10:57 AM
WATCH WINDOW [email protected] Excel Programming 4 February 26th 07 03:19 PM
Watch Window Subs Excel Programming 1 August 30th 04 03:18 PM


All times are GMT +1. The time now is 02:26 AM.

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

About Us

"It's about Microsoft Excel"