Results 1 to 4 of 4

Thread: How to open a word document by a chapter

  1. #1
    Join Date
    Jul 2009
    Posts
    34

    How to open a word document by a chapter

    Need help regarding Word 2007, i have created a document which consists of many chapter , over here i need to open a word document by a chapter/mark, for this i have asked many people they told me that it's not possible, but today when i asked my brother about the same he told me that it's possible by using VB script. But he don't have any idea about it.

  2. #2
    Join Date
    Dec 2008
    Posts
    135

    Open a word document by a chapter/mark

    If you want to open a word document by a chapter they i would suggest you to use the below macro and after which i am sure you will be able to open it as you want.

    Code:
    Sub Macro()
    
    Selection.GoTo What:=wdGoToBookmark, Name:="LineaDerivacionIndividual"
    With ActiveDocument.Bookmarks
    .DefaultSorting = wdSortBy_Name
    .ShowHidden = False
    End With
    End Sub

  3. #3
    Join Date
    Feb 2009
    Posts
    123

    Microsoft Word Open a word document by a chapter/mark

    There are many ways where you can move around in a word document, For example if you want to goto any tables then you can use activedocment.tables(1).select and if you want to goto any paragraphs number to move to the last paragraph then in that case use the following code activedocument.paragraphs(activedocument.paragraphs.count).select

  4. #4
    Join Date
    Aug 2009
    Posts
    1

    ThumbsUp Error Deleting File or Folder

    Had the same problem and fixed it with

Similar Threads

  1. Word cannot open document
    By Scotty816 in forum Windows Software
    Replies: 1
    Last Post: 03-10-2011, 12:16 PM
  2. Open MS Word Document From JSP Page
    By samualres in forum Software Development
    Replies: 5
    Last Post: 12-03-2010, 04:20 PM
  3. Cannot open word document in Mail Mac OS
    By Jason Bourne in forum Operating Systems
    Replies: 3
    Last Post: 09-05-2009, 05:18 PM
  4. Word 2003 does not open document
    By JanP in forum Windows Software
    Replies: 8
    Last Post: 26-03-2009, 07:09 PM
  5. Open MS Word document using VB.NET
    By kaartik in forum Software Development
    Replies: 2
    Last Post: 19-01-2009, 05:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,656,109.40595 seconds with 17 queries