Yuri:
>Just want to add what Vlad already told. According to available Word VBA documentation, printout() should be supplied with valid parameters. So, passing parameters like ..,,.., where between ,, should be string but not a logical value is not right and it is expected to initiate an error.
>It is not the only example where developers are confused because of the lack or not proper information given by MS
Sorry for being stubborn but my question is more in the order of why
loDoc = loWord.Documents(1)
loDoc.SomeMethod()
<pre>
is not functionally equivalent to
<pre>
loWord.Documents(1).SomeMethod()
Understanding why they do not behave exactly the same would allow me to determine when it is best to create a separate reference (loDoc in the example) to a member of an object before making a RPC.
I believe this may be a binding isue but I sure don't understand it!
Daniel