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 / Page Layout / May 2006

Tip: Looking for answers? Try searching our database.

Word - access with VBA to each page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Markus - 22 May 2006 11:10 GMT
VBA needs a direct access to a page -
[at the moment it is not possible, only with a diffucult use of the ranges
it is possible.]

e.g. page(2).layout.vertical = true
Jezebel - 22 May 2006 12:11 GMT
Pages are an attribute of the document as paginated for the selected
printer. You can retrieve the page as a graphic object through the
Pane.Pages collection, eg

ActiveWindow.ActivePane.Pages(3)...

> VBA needs a direct access to a page -
> [at the moment it is not possible, only with a diffucult use of the ranges
[quoted text clipped - 11 lines]
>
> http://www.microsoft.com/office/community/en-us/default.mspx?mid=082c4b2c-3c12-4
1d7-866b-1845f92e1e39&dg=microsoft.public.word.pagelayout
 
Markus - 22 May 2006 13:07 GMT
if it really is only for the printing layout, why do I have something like
"Pagebreak"?
One reason for that page-access is: Change the layout from portrait to
landscape and the next page again to portrait. That I found is really tricky
to handle.

> Pages are an attribute of the document as paginated for the selected
> printer. You can retrieve the page as a graphic object through the
[quoted text clipped - 17 lines]
> >
> > http://www.microsoft.com/office/community/en-us/default.mspx?mid=082c4b2c-3c12-4
1d7-866b-1845f92e1e39&dg=microsoft.public.word.pagelayout
 
Jezebel - 22 May 2006 13:11 GMT
You have "pagebreaks" in order to insert page breaks. What's that got to do
with your original post?

You need to use section breaks to switch between portrait and layout mode.

> if it really is only for the printing layout, why do I have something like
> "Pagebreak"?
[quoted text clipped - 27 lines]
>> >
>> > http://www.microsoft.com/office/community/en-us/default.mspx?mid=082c4b2c-3c12-4
1d7-866b-1845f92e1e39&dg=microsoft.public.word.pagelayout
Charles Kenyon - 22 May 2006 13:12 GMT
You have something like "Pagebreak" because you inserted such a break. Word,
on its own, breaks text into pages only when organizing for printing.

It does organize into paragraphs or sections. Sections can begin with a new
page.
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://word.mvps.org/FAQs/ which is awesome!

My criminal defense site: http://addbalance.com
--------- --------- --------- --------- --------- ---------
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.

> if it really is only for the printing layout, why do I have something like
> "Pagebreak"?
[quoted text clipped - 27 lines]
>> >
>> > http://www.microsoft.com/office/community/en-us/default.mspx?mid=082c4b2c-3c12-4
1d7-866b-1845f92e1e39&dg=microsoft.public.word.pagelayout
 
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.