I've tried William's advice first and it worked!

Thanks for the advice.

Don't understand the {$I-} thingy, but if it gets the job done I'm not complaining.