MS Word - setting orientation

Hi

I’m working on a MS Word script that will create and populate a table. I can’t seem to figure out how to change the page orientation from portrait to landscape. I found a reference to it in the dictionary - it’s a property of page setup but trying variations on:

set orientation of page setup of front document

produced an error.

Does anyone know the correct syntax for this?

Thanks

from microsoft’s developer download
http://www.microsoft.com/mac/developers/default.mspx?CTT=PageView&clr=99-21-0&target=4acff5ca-5863-4bb6-9a3b-09d2bc0d1dc71033&srcid=e1dbbe49-e45b-4606-bc00-dc5d3bd2d4601033&ep=7

This example changes the page orientation for the active document.

toggle portrait page setup of active document