Here's the code. See the PropPageDocument.zip attachment in my reply about half way down the page.