Word - access with VBA to each page

M

Markus

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

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...5f92e1e39&dg=microsoft.public.word.pagelayout
 
J

Jezebel

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)...
 
M

Markus

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.


Jezebel said:
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)...



Markus said:
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

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...5f92e1e39&dg=microsoft.public.word.pagelayout
 
J

Jezebel

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.




Markus said:
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.


Jezebel said:
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)...



Markus said:
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

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the
"I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and
then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...5f92e1e39&dg=microsoft.public.word.pagelayout
 
C

Charles Kenyon

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.
--
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




--------- --------- --------- --------- --------- ---------
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.


Markus said:
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.


Jezebel said:
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)...



Markus said:
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

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the
"I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and
then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...5f92e1e39&dg=microsoft.public.word.pagelayout
 
Top