CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: VB & Word

  1. #1
    Guest

    VB & Word

    I need to access the second page of a word document through Visual Basic. Does anyone know how it can be done? It has to be a property within the Word object itself as opposed to a standard VB property. I have not had any luck determining what that property could be. It has got to be available through some means, but I am at a loss.

    Thank you in advance for your help...


  2. #2
    Join Date
    Apr 1999
    Location
    Brooklyn, NY USA
    Posts
    171

    Re: VB & Word

    I don't know how to get second page of the document directly, but I until you find nice solution try this one:
    Word.Application.Selection.MoveDown unit:=wdLine, Count:=66
    Instead of 66 put quantity of lines you need
    Vlad


  3. #3
    Join Date
    Apr 1999
    Location
    Brooklyn, NY USA
    Posts
    171

    Re: VB & Word

    You can use this to move to the next page:
    Word.Application.Browser.Next
    Vlad


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured