Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2013, 08:58 PM
jegenes jegenes is offline Bookmarks lost when sorting by headings Mac OS X Bookmarks lost when sorting by headings Office for Mac 2011
Novice
Bookmarks lost when sorting by headings
 
Join Date: Nov 2013
Posts: 8
jegenes is on a distinguished road
Default Bookmarks lost when sorting by headings

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
Reply With Quote
  #2  
Old 11-13-2013, 09:53 PM
fumei fumei is offline Bookmarks lost when sorting by headings Windows 7 64bit Bookmarks lost when sorting by headings Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Very hard to say without seeing the document.
Reply With Quote
  #3  
Old 11-14-2013, 01:37 AM
jegenes jegenes is offline Bookmarks lost when sorting by headings Mac OS X Bookmarks lost when sorting by headings Office for Mac 2011
Novice
Bookmarks lost when sorting by headings
 
Join Date: Nov 2013
Posts: 8
jegenes is on a distinguished road
Default

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.
Attached Files
File Type: doc Glossary Sorted.doc (85.5 KB, 12 views)
Reply With Quote
  #4  
Old 11-14-2013, 02:36 PM
jegenes jegenes is offline Bookmarks lost when sorting by headings Mac OS X Bookmarks lost when sorting by headings Office for Mac 2011
Novice
Bookmarks lost when sorting by headings
 
Join Date: Nov 2013
Posts: 8
jegenes is on a distinguished road
Default

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
Reply With Quote
  #5  
Old 11-14-2013, 03:10 PM
fumei fumei is offline Bookmarks lost when sorting by headings Windows 7 64bit Bookmarks lost when sorting by headings Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

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 
This simply listed the bookmarks names into a document so I could see them at a glance. The following shows the result of the original sort killing lots of bookmaks, and the result after I fixed a few paragraph marks.
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.
Reply With Quote
  #6  
Old 11-14-2013, 03:18 PM
fumei fumei is offline Bookmarks lost when sorting by headings Windows 7 64bit Bookmarks lost when sorting by headings Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Quote:

I have figured out this: the bookmarks that are lost are those which have no hyperlinks pointing to them
I just tested this. With your original file, I made a hyperlink pointing to the Binary Code bookmark. I retained the inclusion of the previous paragraph.

I sorted. The Binary Code bookmark was lost.
Reply With Quote
  #7  
Old 01-05-2014, 12:46 AM
jegenes jegenes is offline Bookmarks lost when sorting by headings Mac OS X Bookmarks lost when sorting by headings Office for Mac 2011
Novice
Bookmarks lost when sorting by headings
 
Join Date: Nov 2013
Posts: 8
jegenes is on a distinguished road
Default

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
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bookmarks lost when sorting by headings Bullet Indentation Lost But Text Indentation Not Lost 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

Other Forums: Access Forums

All times are GMT -7. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft