Duplicate - Avoiding Error 29

Hello,

I ecountered Error 29. “used without having been initialized.” error with following code.

Buy = IIf((... AND !Ref(Buy, -1)...), True, False);

Is there any way I can circumvent this.

Thank you.

Would you please start SEARCHING forum BEFORE sending duplicates to existing posts?

Duplicate topic !