Bug : error message before execution of a routine

Basic Module1, run Macro Main :

Call of tata1 is correct, display « OK »

Call of tata2 throws an error at entry of the routine:
Basic runtime error.
Object variable not set.

This error is meaningless because the reason is an instruction which will not be executed.

The difference between the two sub is that in tata1 the argument a is not directly used as an object.

Bernard M

2006-10-19T16:40:45