|
| |||||||||
| Tags: chapter, document, office 2007, script, vb script, visual basic, word, word 2007 |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
|
Had the same problem and fixed it with |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to open a word document by a chapter" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Word cannot open document | Scotty816 | Windows Software | 1 | 03-10-2011 01:16 PM |
| Open MS Word Document From JSP Page | samualres | Software Development | 5 | 12-03-2010 04:20 PM |
| Word 2003 does not open document | JanP | Windows Software | 8 | 26-03-2009 08:09 PM |
| Open MS Word document using VB.NET | kaartik | Software Development | 2 | 19-01-2009 05:12 PM |
| Word 2007 will not open word document | euctechstew | MS Office Support | 0 | 27-12-2008 04:45 AM |