Thanks HTG, I was looking for an inline extender rather that an angled one. I may have to use the one you suggested as plan B if I need to replace the entire bathroom toilet pipe and take the box off to get to it.
Otherwise, any other ideas?
Thanks,
Gordon.