Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Jan 2002
    Location
    Houston, Texas, USA
    Posts
    91
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unusual Index (Word 2003)

    I have a document that has a table in the middle of it. That table lists region, company, phone (may have 2 or 3 phone numbers, and web address). I would like to create a sort of index, or end of document table of contents that would give me each company, main phone number, and web address, along with the page number it's on. To make matters even more difficult, I'd like to track all pages where the company name appears throughout the document. Is there some sort of code I can use to track this information? I thought maybe a TOC, but I'd have to use character styles on the phone number and web address data and that wouldn't work. I'm at my wit's end here.

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unusual Index (Word 2003)

    Hi Dea

    I think that this is a task for a macro which would:
    1. <LI>Interrogate the table (which I suspect is sorted on region), and collect all of the companies their prime phone numbers and web addresses.
      <LI>Build a four column table at the end of the document with these data and sort it on the company name.
      <LI>For each company listed in the new table cycle through the document searching for the company name; noting the page; and updating the table with this data.
    H.T.H.
    Regards
    Don

  4. #3
    5 Star Lounger
    Join Date
    Oct 2002
    Location
    Wellington, Wellington, New Zealand
    Posts
    621
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unusual Index (Word 2003)

    I'm struggling to see why it isn't an index (Reference > index) which you could create either by hand, or via a macro that looped through the table.

    I'm no index expert, but it seems to be more relevant than a TOC

  5. #4
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,515
    Thanks
    3
    Thanked 143 Times in 136 Posts

    Re: Unusual Index (Word 2003)

    I would question whether you need the same information in the document twice - why do you need two tables (one in middle and one at end) with company, phone, website? If this is really necessary then I would use a link to put the second occurrence in. To add to this second table links to everywhere that the company name appears is a massive amount of work for very little return so I would recommend that you use the built-in index function of Word instead to get links to the company names.

    Use the same source table to create a "concordance table" which will become a separate file which contains just the company names. You should be able to find out how these work (and the required format) in the online help and it should be easy since it sounds like you already have most of the work done. The concordance table can then be used to tag all occurrences of the company names so you can build an automatic index at the back of the document.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

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