VB-Word - change orientation of a page within the document

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AndyDelbaere
    New Member
    • Aug 2007
    • 4

    VB-Word - change orientation of a page within the document

    Hello,

    I have a word document with multiple pages.
    I want to select a random page and be able to change the orientation (from portrait to landscape and vice versa)
    This should only change the one page and not the whole document.
    I think this should be with sections at the beginning and at the end of the selected page.
    Office 2007 is used and the project itself is a shared addin for Word.
    I have tried to solve this myself but it keeps doing it wrong.
    If you want some code that i have just let me know and i'll post it.

    Thanks,

    Andy
  • MrMancunian
    Recognized Expert Contributor
    • Jul 2008
    • 569

    #2
    Is there a question?

    Comment

    • Curtis Rutland
      Recognized Expert Specialist
      • Apr 2008
      • 3264

      #3
      Yes, what specific part are you having trouble with? Keeping in mind that we can't write your whole program for you.

      Comment

      • AndyDelbaere
        New Member
        • Aug 2007
        • 4

        #4
        Woeps sorry :s how dumb of me.

        I need the page number of my current selection.
        How do i get this?

        Comment

        Working...