current page of a document 
Author Message
 current page of a document

how can i find out the current page of a document (this one which is shown
in the status bar of the document window)


Sun, 27 Mar 2005 01:10:39 GMT  
 current page of a document
Hi Chirstoph,

Depending on your doucment, one of the two will do the trick:

MsgBox Selection.Information(wdActiveEndAdjustedPageNumber)
MsgBox Selection.Information(wdActiveEndPageNumber)

Have a look at the VBA help file for the differences.

HTH

Quote:
> how can i find out the current page of a document (this one which is shown
> in the status bar of the document window)



Sun, 27 Mar 2005 01:59:59 GMT  
 current page of a document

Quote:

> Hi Chirstoph,

> Depending on your doucment, one of the two will do the trick:

> MsgBox Selection.Information(wdActiveEndAdjustedPageNumber)
> MsgBox Selection.Information(wdActiveEndPageNumber)

ah, thanx alot!


Sun, 27 Mar 2005 04:26:03 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Saving page breaks from Word documents to text documents

2. how to split a word document page by page

3. Break page in a RTF document (RichTextBox New Page)

4. VBD Document 1 page loaded but second page not

5. Break page in a RTF document (RichTextBox New Page)

6. How to find out (in VBA code, macro) how many pages and which is current page in active Word document?

7. Macro for make a list with all the bookmarks in the current document

8. Creating a word document from the current record in an Access Form

9. W97:Current Line # of entire document.

10. SaveAs without changing current document

11. How use current directory with Documents.Open Filename

12. Creating command bar only in the current active document in MSWord

 

 
Powered by phpBB® Forum Software