#1
|
|||
|
|||
Macro to generate an index with page numbers
Does anyone have a macro that generates a word index for every word in a document? I have seen old posts that show examples with word frequency, but that's not what I need. I need the index to show the word and its corresponding line and page number. Is it also possible to make the page number clickable, like a hyperlink to that specific page? TIA! |
#2
|
||||
|
||||
See, for example: https://www.msofficeforums.com/word-...sage-same.html
Hyperlinking would be problematic, since every word would need to be bookmarked and, moreover, wouldn't work unless every instance on every page appears in the index.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Yes, this is the original code I have been playing around with. Thanks!
But is there a way to replace the number next to the word with the page number(s) rather than frequency? I am not sure how to manipulate the code because this is over my head. I know there is software that can generate every single word and page number with hyperlinks, but I guess the next best thing would be to have just the word and page number. I provide 30-60 page transcripts for researchers, and I think it would be useful to have this index for them to reference. Legal transcripts also index every single word. When I run macro in Word it just gives me one column of numbers (I'm assuming these are the page numbers?) and then beneath that, a two-column table with the word in first column and frequency in second column. |
#4
|
||||
|
||||
The code I posted in that thread already has an option to output the page #s...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Quote:
https://www.msofficeforums.com/word/...-document.html This post if I've done the hyperlink thing correctly. Cheers, Chris |
#6
|
||||
|
||||
Chris,
The OP's question was answered in post #2, some 8 months ago...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building an index not referring to page numbers | wolf | Word | 1 | 02-04-2016 07:45 PM |
Sorting Index According to Page Numbers | mohsen.amiri | Word | 14 | 06-25-2015 09:50 PM |
Randomly generate numbers, Macro? | Jamtart | PowerPoint | 30 | 08-15-2012 10:55 AM |
Index - hyphenated page numbers | godofpool | Word | 1 | 07-09-2012 11:25 AM |
wrong page numbers in index | ellie2063 | Word | 1 | 06-29-2011 05:54 PM |