![]() |
#1
|
|||
|
|||
![]()
Hello.
I have a small Index, made using 2 headings. It has an entry, and then its explanation beneath it (like a glossary). I sorted it alphabetically via instructions that said: open in Outline View, select all entries, sort, etc. The sorting worked fine, and all were sorted alphabetically, with the explanations still placed beneath the entry titles. Problem is, there were lots of bookmarks with hyperlinks that cross referenced each other, and most of these were lost when I did the sort. Some were left, and I can't seem to figure out why they were left and the others deleted. When I go into my Bookmarks list, they are no longer there. I did an UNDO and got them back, but can't figure out why the Sort command is deleting bookmarks.... Ideas? thanks. --john |
#2
|
|||
|
|||
![]()
Very hard to say without seeing the document.
|
#3
|
|||
|
|||
![]()
here's a copy of the unsorted doc (in .DOC format). First, press Shift/Ctrl+F5 to open the "Bookmark" dialog box. It shows all my bookmarks. (just cancel out of that at this point...)
Here's what I did: In "Outline" view, "Select All" (all text is selected) from the "Home" tab, select "Sort"--> Sort by "Paragraphs" (Type = Text) Click "OK" Entries are sorted correctly, with Headings and text. Now, press Shift/Ctrl+F5 to see that there are FAR fewer bookmarks. Alternately, you can press CTRL-K, then click "Bookmark" to see the same thing. Just can't figure out where they're going. Is it because they're no longer in the exact same place (line, word count...) in the document? If that's the case, how do I create hyperlinks like these and then sort the glossary later? Thanks. |
#4
|
|||
|
|||
![]()
I have figured out this: the bookmarks that are lost are those which have no hyperlinks pointing to them. Might just have to go back through the glossary and re-bookmark all those missing after I sort. This is an ongoing process, though, and one in which manually inserting things in alphabetical order will make a LOT more work. --john
|
#5
|
|||
|
|||
![]()
It is because some of your bookmarks (most of them, as the count goes from 62 in the original, down to 16 after your sort) include the paragraph BEFORE the heading your sorting. That is the starting (opening) marker of the bookmark includes the previous paragraph. Here is the result of running the following code.
Code:
Sub BM_Count() Dim SourceDoc As Document Dim CountDoc As Document Dim var Code:
Set SourceDoc = Documents("Glossary Sorted.doc") Set CountDoc = Documents("BMCount.doc") For var = 1 To SourceDoc.Bookmarks.Count CountDoc.Range.InsertAfter SourceDoc.Bookmarks(var).Name & vbCrLf Next End Sub AccessPoint ADConverter Album Analogue AnalogueDomain ASide AudioFileFormats AutoTune BinaryCode BitDepth BottomUp BSide ClickTrack Cloud Code CognitiveStyle CollectiveIntelligence CommunalProduction ConventionalProduction DAConverter DAW Digital DigitalConvergence DigitalCulture DigitalDomain DigitalForensics DigitalHumanities DigitalLifestream DigitalProduction FolkProcess GuideTrack HybridProduction ID3 LPrecord Many2Many Mashup MassMediaProduction Media MetaData MP3 One2Many OralTradition PitchShift PrintCulture Process Product ReadOnly ReadWrite Remix RemixCulture SampleRate ScratchTrack Single SPARScodes Stem Tags TimeShift TopDown Track TransitionalProduction twentiethCenturyProduction VinylRecord Afterwards (original sort FAR fewer) Analogue AnalogueDomain BSide ClickTrack CollectiveIntelligence CommunalProduction Digital DigitalConvergence DigitalCulture DigitalDomain DigitalProduction MassMediaProduction PrintCulture ReadOnly twentiethCenturyProduction VinylRecord Afterwards (fixing a few sample paragraph marks) AccessPoint Album Analogue AnalogueDomain ASide BinaryCode BSide ClickTrack Cloud CollectiveIntelligence CommunalProduction Digital DigitalConvergence DigitalCulture DigitalDomain DigitalProduction FolkProcess MassMediaProduction OralTradition PrintCulture ReadOnly Single twentiethCenturyProduction VinylRecord So, for example the bookmark Binary Code is lost. So go there and look. Oh...make sure your have Bookmarks listed as Visible - They look like grey square brackets. As you can see the opening bracket of the bookmark Binary code includes the previous paragraph. And as you can see from the original sort, it is lost. If you simply delete the paragraph - just to the right of the opening bookmark...ummm, mark - and run the sort, it now IS still there. I did a few just to test if this worked, and AFAIK, it does. I am not going to edit and fix your document for you. Just delete the paragraphs before the heading that is supposed to be in the bookmark. NOTE! There are many instances where the bookmark closing mark (or tag if you will) includes a following paragraph (as opposed to a previous one). This does NOT affect the sort and the bookmarks. You can leave them if you want. |
#6
|
|||
|
|||
![]() Quote:
I sorted. The Binary Code bookmark was lost. |
#7
|
|||
|
|||
![]()
thank you so much for this. I'll give it a longer look and compare the original with your instructions. I really appreciate your help.
best, --john |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Trypsinogen | Word | 2 | 09-26-2013 02:01 PM |
Can't See Bookmarks | bobmayo | Word | 21 | 06-04-2013 07:37 AM |
How to fix "create bookmarks using headings" as default when saving to PDF using Word | ghumdinger | Word | 0 | 05-05-2011 02:11 AM |
Bookmarks for a PDF? | Ownaholic | Word | 0 | 10-30-2010 12:27 AM |
Show bookmarks | dempen | Word | 2 | 01-14-2010 11:47 PM |