Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2005

Tip: Looking for answers? Try searching our database.

Word Macro?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
missjoy_3 - 21 Mar 2005 16:26 GMT
I am trying to change the page orientation on a 10 page document, the catch
being that each page has a different orientation.  I have tried numerous
ways, but nothing seems to work.  If it helps, all but the first page are
tables.
Charles Kenyon - 21 Mar 2005 16:42 GMT
You have 10 orientations? Word only has two: portrait (default) and
landscape or sideways. You can have both in a document using section breaks
between them.

See http://addbalance.com/usersguide/sections.htm,
http://word.mvps.org/FAQs/Formatting/WorkWithSections.htm, and
http://word.mvps.org/FAQs/Formatting/LandscapeSection.htm.
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.

>I am trying to change the page orientation on a 10 page document, the catch
> being that each page has a different orientation.  I have tried numerous
> ways, but nothing seems to work.  If it helps, all but the first page are
> tables.
missjoy_3 - 22 Mar 2005 14:19 GMT
Charles,
Thanks for the reply, but I think you miss read my post:  what I am looking
for is some VBA script for a   Word macro   that will allow me to
change/control the page orientation in a 10 page document.

> You have 10 orientations? Word only has two: portrait (default) and
> landscape or sideways. You can have both in a document using section breaks
[quoted text clipped - 7 lines]
> > ways, but nothing seems to work.  If it helps, all but the first page are
> > tables.
Charles Kenyon - 22 Mar 2005 16:10 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.