|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
current page number
Hi all,
I wrote a VB script that iterates over all tables in a Word document. My problem is that want to write out the current page number (that means the page number where the table was found) in a file. But how do I get the current page number? Is there a function of a table object that returns the current page number? I tried to find something in the VB help but withoau success. Can some help me? |
|
#2
|
|||
|
|||
|
Are you wanting something like a bookmark? Are you referring to tables created in word or database tables?
|
|
#3
|
||||
|
||||
|
Word tables.
I just want a string (no bookmark) with the page number of the page where the table starts. |
|
#4
|
|||
|
|||
|
currentPageNumber = Selection.Information(wdActiveEndPageNumber)
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > current page number |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|