Results 1 to 7 of 7
  1. #1
    Lounger
    Join Date
    May 2003
    Location
    Detroit, Michigan, USA
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Why isn't it a bookmark? (Word 97)

    I thought a bookmark was a spot; good for jumping to. But today's posting says a bookmark can be a whole file. Apparently it has something to do with a range. And what's a range? Could someone please explain.
    Thanks, Al Gruber <img src=/S/confused.gif border=0 alt=confused width=15 height=20>

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Why isn't it a bookmark? (Word 97)

    A range in a document is a contiguous part of it, see attached screenshot. If you select a range, and then pick Insert | Bookmark... from the menu, the bookmark will be assigned to the entire selected range. If later on, you go to that bookmark, the range will be selected again.

    One of the uses of a range as a bookmark is in cross references. You can insert a cross reference to a bookmark somewhere else in the document, and display the text that is in the bookmark. If the bookmark was just a single spot in the document, that would not be possible.
    Attached Images Attached Images
    • File Type: png x.PNG (10.7 KB, 0 views)

  3. #3
    Lounger
    Join Date
    May 2003
    Location
    Detroit, Michigan, USA
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Why isn't it a bookmark? (Word 97)

    Thanks Hans,
    So I assume that a bookmark just happens to be the only convenient way to specify a chunk of text if that's what you need.
    The concept makes sense; the name doesn't.
    Regards, Al

  4. #4
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Why isn't it a bookmark? (Word 97)

    Autotext is another...

    And, if you are programming, Range and Selection objects also name "chunks" of text.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Why isn't it a bookmark? (Word 97)

    There are a couple of excellent articles explaining the "mechanics" of bookmarks at the Word MVP site:

    Working with Bookmarks in VBA
    Inserting text at a bookmark without deleting the bookmark

    Alan

  6. #6
    Lounger
    Join Date
    May 2003
    Location
    Detroit, Michigan, USA
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Why isn't it a bookmark? (Word 97)

    Thanks Alan,
    That's exactly what I needed.
    Al <img src=/S/clapping.gif border=0 alt=clapping width=19 height=23>

  7. #7
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Why isn't it a bookmark? (Word 97)

    > I thought a bookmark was a spot; good for jumping to.

    Perhaps the "bookmark" metaphor works best for empty bookmarks (which look like an "<font face="Georgia">I</font face=georgia>" crossbeam): They would mark a spot, such as a piece of paper inserted in a book, or a dog ear, or a pencilled "X" at some spot.
    A bookmark that spans a range could be likened to text you have highlighted with a marker.

    Note the importance of "contiguous" in Hans' text:
    > A range in a document is a contiguous part of it,

    A range contains just info on the story range, the start position and the end position.
    (For empty bookmarks, the start position and the end position are the same)
    You couldn't have a Range for a table column for example, since the cells are not contiguous (... there are cells from other columns in between them).

    > But today's posting says a bookmark can be a whole file.
    Well, the whole main document text (not containing the footnotes, headers, ...) is "contiguous", so you can bookmark it.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

Posting Permissions

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