Logo 
Search:

MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

Inconsistent behavior in vba immediate window

  Asked By: Caleb    Date: Mar 04    Category: MS Office    Views: 706
  

Between fits of hair pulling trying to resolve the problem I described
in my previous post, I stumbled over a behavior inconsistency of the
immediate window.

Using debug.print from within the code gave wrong results (that is, 0
for a numeric, "" for a string).
At the same time, typing ?expression in the immediate window gave the
correct results. (expression being a value of a DOMDocument element).

I also asserted that the assignment "=" operator actually worked, but
the values it assigned were 0 for numeric and "" for string.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Devrim Yilmaz     Answered On: Mar 04

See my response to "assignment doesn't work with xmlDocument object".

 
Didn't find what you were looking for? Find more on Inconsistent behavior in vba immediate window Or get search suggestion and latest updates.




Tagged: