none
get current page RRS feed

  • Question

  • Hello Experts !

    1. I am using vba 6 to run some code on a 2007 word document.

    I an looping through all tables inside a document, and for some tables I want to get the current page number where the table is.

    Is there any way to do this ?

    2. Here is the link to another urgent question that I have, maybe you can spare some few extra seconds. It is much appreciated.

    http://stackoverflow.com/questions/7913615/activedocument-tablesk-range-cellsj-shading-backgroundpatterncolor-returns

    Thank you for all your help !

    kind regards,

    gica

     

     

    Friday, October 28, 2011 2:17 PM

Answers

  • Hello,

    You can use Document.Tables(i).Range.Information(wdActiveEndPageNumber).

    To attract more attention to your second question, I'd suggest that you start a new thread here.


    Regards from Belarus (GMT + 2),

    Andrei Smolin
    Add-in Express Team Leader
    Friday, October 28, 2011 9:02 PM

All replies