Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Markus
 
Posts: n/a
Default Word - access with VBA to each page

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/comm...ord.pagelayout
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Jezebel
 
Posts: n/a
Default Word - access with VBA to each page

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" wrote in message
...
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/comm...ord.pagelayout



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Markus
 
Posts: n/a
Default Word - access with VBA to each page

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" wrote:

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" wrote in message
...
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/comm...ord.pagelayout




  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Jezebel
 
Posts: n/a
Default Word - access with VBA to each page

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" wrote in message
...
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" wrote:

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" wrote in message
...
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/comm...ord.pagelayout






  #5   Report Post  
Posted to microsoft.public.word.pagelayout
Charles Kenyon
 
Posts: n/a
Default Word - access with VBA to each page

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

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.


"Markus" wrote in message
...
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" wrote:

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" wrote in message
...
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/comm...ord.pagelayout






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 97 in Windows XP to maintain formatting Charlie''s Word VBA questions Microsoft Word Help 22 May 20th 23 08:51 PM
How to put graphics on envelopes? Steve Koenig Microsoft Word Help 21 April 29th 23 02:47 AM
take yet another lesson from wordperfect "reveal codes" wordperfect is superior Microsoft Word Help 5 May 11th 09 07:58 PM
3 different page number formats-How??!! cpatton Tables 3 April 24th 06 01:05 PM
In Word, how do I surpress headers and footers on page 2 Bill Microsoft Word Help 1 December 15th 05 06:13 PM


All times are GMT +1. The time now is 02:28 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"