Thanks!
When I load the form the shell loads but the contents don't. I can't work out how to load the form with the visible property set to 0 and then change it.
I've tried to load the form in one macro and set the 'on load' property to run the second macro but the form just doesn't appear, although it does run the second macro.
Any sugestions?