I think you need to say more about how you would want this to work. Selected
page(s), a userform? What, exactly, are you trying to do? Saying you want
to control page orientation in a 10-page-document doesn't say what it is you
want to be able to do that you can't do with the File > Page setup dialog.
With enough specificity, someone here, not me - because I don't know
enough - may be able to give you a hand if not a full-blown macro.
Note that tables cannot be split across sections; that is, a single table
must all be in one section.

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Charles,
> Thanks for the reply, but I think you miss read my post: what I am
[quoted text clipped - 17 lines]
>> > are
>> > tables.
missjoy_3 - 23 Mar 2005 12:42 GMT
OK: I have a macro in Excel that (among other things) cuts a specified range
from each tab -in a 10 tab spreadsheet- and pastes them into the named Word
doc.
After they are pasted -and the rest of my Word macro adds the correct
Header/Footer and text to the first page- I need a script that will: select
the first table which is on page 2 (there is generally only one table per
page) and set that selected table to be 'landscape', then the same with page
3...
BUT
...page 4's table needs to have it's orientation as 'portrait', and so on
and so on. I need to select each table as I go through this process as some
of them might spread over two pages (but no more).
If there is anyone out there that has scripting experience with this, please
let me know.
> I think you need to say more about how you would want this to work. Selected
> page(s), a userform? What, exactly, are you trying to do? Saying you want
[quoted text clipped - 26 lines]
> >> > are
> >> > tables.