Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2015, 03:44 PM
Guessed's Avatar
Guessed Guessed is offline Macro for mark index entry for every word in a document? Windows 7 32bit Macro for mark index entry for every word in a document? Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Thanks for the explanation. That is a very different requirement to indexing every word in a document. In the case of a Names and Places index, it would make more sense to plan to index only words that start with a capital letter. This would remove a lot of the unwanted words immediately.

You would also want to do a lot of work to manage multiple words that form a name eg
'Alan Smith' should be indexed as "Smith, Alan" instead of two separate terms
'Rip Van Winkle' should be indexed as "Van Winkle, Rip"
'Stratford-on-Avon' should be indexed as a single term
'Stratform-upon-Avon' should use the same indexing term as the other variant


'Richard the Lionheart' should be indexed as a single term etc

The concordance file can handle the correct assignations but the rules a macro would need to include would be very complex to manage this automatically.

Personally, I wouldn't be approaching this task from the direction that you are taking. The index you end up with would be meaningless unless you manually fix all the compound names to index them as a group.

I would think that you should be adding to your concordance file manually. Concordance files typically include all indexable terms and may include many terms that don't actually appear in 'this' document but might appear in similar documents. You might be able to automate the initial population of a concordance file eg by importing a comprehensive list from other sources such as a postcode list or a family tree.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for mark index entry for every word in a document? How do I create an index of every word in a document? jbengal Word 5 11-23-2022 02:17 PM
Macro for mark index entry for every word in a document? Mark Entry mohsen.amiri Word 15 07-02-2015 02:43 PM
Skipping an Index entry philippe.delobbe Mail Merge 0 04-30-2015 05:49 AM
Hyperlinking from the Index to the Origin Mark Phil H Word 2 08-30-2013 04:03 AM
Options of Index Mark Entry smaria Word 1 04-22-2010 05:48 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:44 PM.


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