Thanks Geert!
Just what I need, I have trimmed your version down to just importing the glossary and it works a treat!
I also added a dialog just to confirm when the import had finished.
Looking forward to meeting you at the EAUG later this month.
All the best
Phil