Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I looked in Walkenbach and did a search here, but couldn't find
anything in either about this error when I run a line of code in the Immediate window, "Invalid Watch Expression". Does anyone know what it means? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is the object fully qualified, i.e. not something like
?.Range("A1").Value but ?activeworkbook.Range("A1").Value -- HTH RP (remove nothere from the email address if mailing direct) "davegb" wrote in message oups.com... I looked in Walkenbach and did a search here, but couldn't find anything in either about this error when I run a line of code in the Immediate window, "Invalid Watch Expression". Does anyone know what it means? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That was it Bob! What does the "?" do?
Bob Phillips wrote: Is the object fully qualified, i.e. not something like ?.Range("A1").Value but ?activeworkbook.Range("A1").Value -- HTH RP (remove nothere from the email address if mailing direct) "davegb" wrote in message oups.com... I looked in Walkenbach and did a search here, but couldn't find anything in either about this error when I run a line of code in the Immediate window, "Invalid Watch Expression". Does anyone know what it means? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That is effectively a print statement in the immediate window. Very useful
when debugging to stop execution at some point and check the value of a variable. Similar to watch, but not updated as the value changes, but you can also get the values of items that are not in the code but may give you cause for concern. -- HTH RP (remove nothere from the email address if mailing direct) "davegb" wrote in message oups.com... That was it Bob! What does the "?" do? Bob Phillips wrote: Is the object fully qualified, i.e. not something like ?.Range("A1").Value but ?activeworkbook.Range("A1").Value -- HTH RP (remove nothere from the email address if mailing direct) "davegb" wrote in message oups.com... I looked in Walkenbach and did a search here, but couldn't find anything in either about this error when I run a line of code in the Immediate window, "Invalid Watch Expression". Does anyone know what it means? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the explanation, Bob.
Bob Phillips wrote: That is effectively a print statement in the immediate window. Very useful when debugging to stop execution at some point and check the value of a variable. Similar to watch, but not updated as the value changes, but you can also get the values of items that are not in the code but may give you cause for concern. -- HTH RP (remove nothere from the email address if mailing direct) "davegb" wrote in message oups.com... That was it Bob! What does the "?" do? Bob Phillips wrote: Is the object fully qualified, i.e. not something like ?.Range("A1").Value but ?activeworkbook.Range("A1").Value -- HTH RP (remove nothere from the email address if mailing direct) "davegb" wrote in message oups.com... I looked in Walkenbach and did a search here, but couldn't find anything in either about this error when I run a line of code in the Immediate window, "Invalid Watch Expression". Does anyone know what it means? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Range Expression | Excel Discussion (Misc queries) | |||
value expression | Excel Worksheet Functions | |||
need help with expression | Excel Discussion (Misc queries) | |||
Expression | New Users to Excel | |||
Excel Expression | Excel Discussion (Misc queries) |